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