|
|
@ -206,16 +206,6 @@ AC_DEFUN([AX_USE_DOXYGEN], [ |
|
|
|
AC_CHECK_PROG(have_doxygen, doxygen, yes, no) |
|
|
|
AC_CHECK_PROG(have_doxygen, doxygen, yes, no) |
|
|
|
AC_CHECK_PROG(have_dot, dot, yes, no) |
|
|
|
AC_CHECK_PROG(have_dot, dot, yes, no) |
|
|
|
AC_CHECK_PROG(have_mscgen, mscgen, yes, no) |
|
|
|
AC_CHECK_PROG(have_mscgen, mscgen, yes, no) |
|
|
|
AC_ARG_ENABLE(html, |
|
|
|
|
|
|
|
[AS_HELP_STRING([--disable-html], |
|
|
|
|
|
|
|
[disable generation of doxygen html documentation])], |
|
|
|
|
|
|
|
[have_html="$enableval"], [have_html="no"]) |
|
|
|
|
|
|
|
AM_CONDITIONAL(HTML_DOC, test "$have_html" = "yes") |
|
|
|
|
|
|
|
AC_ARG_ENABLE(pdf, |
|
|
|
|
|
|
|
[AS_HELP_STRING([--enable-pdf], |
|
|
|
|
|
|
|
[enable generation of doxygen pdf documentation])], |
|
|
|
|
|
|
|
[have_pdf="$enableval"], [have_pdf="no"]) |
|
|
|
|
|
|
|
AM_CONDITIONAL(PDF_DOC, test "$have_pdf" = "yes") |
|
|
|
|
|
|
|
PDF_DOC=${PACKAGE_NAME}-${PACKAGE_VERSION}.pdf |
|
|
|
PDF_DOC=${PACKAGE_NAME}-${PACKAGE_VERSION}.pdf |
|
|
|
AC_SUBST(PDF_DOC) |
|
|
|
AC_SUBST(PDF_DOC) |
|
|
|
if test "$have_doxygen" = "no"; then |
|
|
|
if test "$have_doxygen" = "no"; then |
|
|
@ -240,19 +230,8 @@ AC_DEFUN([AX_USE_DOXYGEN], [ |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([.PHONY], [pdf], [doc/makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([.PHONY], [pdf], [doc/makefile.in]) |
|
|
|
test -f doc/makefile.in && cat >> doc/makefile.in <<EOF |
|
|
|
test -f doc/makefile.in && cat >> doc/makefile.in <<EOF |
|
|
|
#### Begin: Appended by $0 |
|
|
|
#### Begin: Appended by $0 |
|
|
|
@HTML_DOC_TRUE@@PDF_DOC_TRUE@doc: doxyfile html @PDF_DOC@ |
|
|
|
doc: doxyfile |
|
|
|
@HTML_DOC_FALSE@@PDF_DOC_TRUE@doc: doxyfile @PDF_DOC@ |
|
|
|
doxygen doxyfile |
|
|
|
@HTML_DOC_TRUE@@PDF_DOC_FALSE@doc: doxyfile html |
|
|
|
|
|
|
|
@HTML_DOC_FALSE@@PDF_DOC_FALSE@doc: doxyfile |
|
|
|
|
|
|
|
html: |
|
|
|
|
|
|
|
doxygen -w html doxyfile |
|
|
|
|
|
|
|
@PEDANTIC_TRUE@ test \! -s doxygen.errors |
|
|
|
|
|
|
|
@PDF_DOC@: latex/refman.pdf |
|
|
|
|
|
|
|
mv \${<}/refman.pdf @PDF_DOC@ |
|
|
|
|
|
|
|
latex/refman.pdf: latex |
|
|
|
|
|
|
|
cd \$< && \${MAKE} |
|
|
|
|
|
|
|
latex: |
|
|
|
|
|
|
|
doxygen -w pdf doxyfile |
|
|
|
|
|
|
|
@PEDANTIC_TRUE@ test \! -s doxygen.errors |
|
|
|
@PEDANTIC_TRUE@ test \! -s doxygen.errors |
|
|
|
|
|
|
|
|
|
|
|
clean-documentation: |
|
|
|
clean-documentation: |
|
|
|