|
|
@ -119,10 +119,12 @@ copy() { |
|
|
|
|
|
|
|
|
|
|
|
doxyreplace() { |
|
|
|
doxyreplace() { |
|
|
|
echo -n "-> doxyfile: configure $1 ..." |
|
|
|
echo -n "-> doxyfile: configure $1 ..." |
|
|
|
if sed -i 's§\(^'"$1"' *=\) *§\1'" $2"'§g' doc/doxyfile.in; then |
|
|
|
if sed -i 's|\(^'"$1"' *=\) *|\1'" $2"'|g' doc/doxyfile.in; then |
|
|
|
echo " success" |
|
|
|
echo " success" |
|
|
|
else |
|
|
|
else |
|
|
|
echo " ignored" |
|
|
|
echo " error" |
|
|
|
|
|
|
|
echo "**** command: sed -i 's|\(^'"$1"' *=\) *|\1'" $2"'|g' doc/doxyfile.in;" |
|
|
|
|
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -163,10 +165,10 @@ echo "${HEADER}" | to --condition AX_USE_DOXYGEN doc/makefile.am |
|
|
|
echo "${HEADER}" | to --condition AX_BUILD_EXAMPLES examples/makefile.am |
|
|
|
echo "${HEADER}" | to --condition AX_BUILD_EXAMPLES examples/makefile.am |
|
|
|
if testtag AX_USE_DOXYGEN && ! test -f doc/doxyfile.in; then |
|
|
|
if testtag AX_USE_DOXYGEN && ! test -f doc/doxyfile.in; then |
|
|
|
run doxygen -g doc/doxyfile.in |
|
|
|
run doxygen -g doc/doxyfile.in |
|
|
|
doxyreplace PROJECT_NAME '"@PACKAGE_NAME@"' |
|
|
|
doxyreplace PROJECT_NAME "@PACKAGE_NAME@" |
|
|
|
doxyreplace PROJECT_NUMBER '"@PACKAGE_VERSION@"' |
|
|
|
doxyreplace PROJECT_NUMBER "@PACKAGE_VERSION@" |
|
|
|
doxyreplace PROJECT_BRIEF '"@DESCRIPTION@"' |
|
|
|
doxyreplace PROJECT_BRIEF "@DESCRIPTION@" |
|
|
|
doxyreplace PROJECT_LOGO '"@PROJECT_LOGO@"' |
|
|
|
doxyreplace PROJECT_LOGO "@PROJECT_LOGO@" |
|
|
|
doxyreplace INLINE_INHERITED_MEMB YES |
|
|
|
doxyreplace INLINE_INHERITED_MEMB YES |
|
|
|
doxyreplace MULTILINE_CPP_IS_BRIEF YES |
|
|
|
doxyreplace MULTILINE_CPP_IS_BRIEF YES |
|
|
|
doxyreplace TAB_SIZE 2 |
|
|
|
doxyreplace TAB_SIZE 2 |
|
|
@ -267,7 +269,7 @@ usr/include |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
fi |
|
|
|
fi |
|
|
|
to debian/rules <<EOF |
|
|
|
to debian/rules <<EOF |
|
|
|
%: |
|
|
|
${HEADER}%: |
|
|
|
dh $@ |
|
|
|
dh $@ |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
echo 7 | to debian/compat |
|
|
|
echo 7 | to debian/compat |
|
|
@ -288,8 +290,8 @@ includedir=${prefix}/include |
|
|
|
Name: @PACKAGE_NAME@ |
|
|
|
Name: @PACKAGE_NAME@ |
|
|
|
Description: @DESCRIPTION@ |
|
|
|
Description: @DESCRIPTION@ |
|
|
|
Version: @VERSION@ |
|
|
|
Version: @VERSION@ |
|
|
|
Libs: -L${libdir} -l@PACKAGE_NAME@ |
|
|
|
Libs: -L${libdir} -l@PACKAGE_NAME@ @LDFLAGS@ |
|
|
|
Cflags: -I${includedir} |
|
|
|
Cflags: -I${includedir} @CPPFLAGS@ |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
#### Cleanup If Makefile Exists #### |
|
|
|
#### Cleanup If Makefile Exists #### |
|
|
|