Lines Matching +full:aux +full:- +full:output +full:- +full:enable

2 #     https://www.gnu.org/software/autoconf-archive/ax_prog_doxygen.html
7 # DX_INIT_DOXYGEN(PROJECT-NAME, [DOXYFILE-PATH], [OUTPUT-DIR], ...)
26 # output formats. The environment variable DOXYGEN_PAPER_SIZE may be
35 # post-processing to it.
38 # override the default by specifying --enable or --disable. The macros
40 # --enable-doxygen-html and --enable-doxygen-chm,
41 # --enable-doxygen-anything with --disable-doxygen, etc.) Finally, each
46 # with the following parameters: a one-word name for the project for use
49 # optional output directory name (the default is 'doxygen-doc'). To run
50 # doxygen multiple times for different configuration files and output
53 # etc parameter are output directories. No checking is done to catch
64 # doxygen-doc: Generate all doxygen documentation.
66 # doxygen-run: Run doxygen, which will generate some of the
71 # doxygen-ps: Generate doxygen PostScript documentation.
73 # doxygen-pdf: Generate doxygen PDF documentation.
80 # $(man3_MANS): doxygen-doc
92 # Copyright (c) 2009 Oren Ben-Kiki <oren@ben-kiki.org>
97 # and this notice are preserved. This file is offered as-is, without any
102 ## ----------##
104 ## ----------##
118 ## --------------- ##
120 ## --------------- ##
123 # ------------------------------
134 # ---------------
139 # DX_IF_FEATURE(FEATURE, IF-ON, IF-OFF)
140 # -------------------------------------
145 # ----------------------------------
151 AC_MSG_ERROR([$2 not found - will not DX_CURRENT_DESCRIPTION])
153 AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])
160 # ------------------------
165 # -------------------------------------------------
170 || AC_MSG_ERROR([doxygen-DX_CURRENT_FEATURE ifelse([$2], 1,
171 requires, contradicts) doxygen-$1])
175 # ----------------------------------------------------------
183 # REQUIRE, DO-IF-ON, DO-IF-OFF)
184 # --------------------------------------------
185 # Parse the command-line option controlling a feature. CHECK_DEPEND is called
190 # DO-IF-ON or DO-IF-OFF are called according to the final state of the feature.
194 AC_ARG_ENABLE(doxygen-$1,
195 [AS_HELP_STRING(DX_IF_FEATURE([$1], [--disable-doxygen-$1],
196 [--enable-doxygen-$1]),
209 AC_MSG_ERROR([invalid value '$enableval' given to doxygen-$1])
229 ## -------------- ##
231 ## -------------- ##
234 # -----------------------------
247 # DX_INIT_DOXYGEN(PROJECT, [CONFIG-FILE], [OUTPUT-DOC-DIR], ...)
248 # --------------------------------------------------------------
250 # The default CONFIG-FILE is "$(srcdir)/Doxyfile" and OUTPUT-DOC-DIR is
251 # "doxygen-doc".
252 # More arguments are interpreted as interleaved CONFIG-FILE and
253 # OUTPUT-DOC-DIR values.
259 AC_SUBST([DX_DOCDIR], ['ifelse([$3], [], [doxygen-doc], [$3])'])
265 [AC_SUBST([DX_DOCDIR]m4_eval([(]DX_i[-1)/2]),
267 [doxygen-doc])')])])dnl
385 AS_IF([[test $DX_FLAG_html -eq 1]],
386 [[DX_SNIPPET_html="## ------------------------------- ##
387 ## Rules specific for HTML output. ##
388 ## ------------------------------- ##
396 AS_IF([[test $DX_FLAG_chi -eq 1]],
402 AS_IF([[test $DX_FLAG_chm -eq 1]],
403 [[DX_SNIPPET_chm="## ------------------------------ ##
404 ## Rules specific for CHM output. ##
405 ## ------------------------------ ##
414 AS_IF([[test $DX_FLAG_man -eq 1]],
415 [[DX_SNIPPET_man="## ------------------------------ ##
416 ## Rules specific for MAN output. ##
417 ## ------------------------------ ##
425 AS_IF([[test $DX_FLAG_rtf -eq 1]],
426 [[DX_SNIPPET_rtf="## ------------------------------ ##
427 ## Rules specific for RTF output. ##
428 ## ------------------------------ ##
436 AS_IF([[test $DX_FLAG_xml -eq 1]],
437 [[DX_SNIPPET_xml="## ------------------------------ ##
438 ## Rules specific for XML output. ##
439 ## ------------------------------ ##
447 AS_IF([[test $DX_FLAG_ps -eq 1]],
448 [[DX_SNIPPET_ps="## ----------------------------- ##
449 ## Rules specific for PS output. ##
450 ## ----------------------------- ##
456 DX_PS_GOAL = doxygen-ps
458 doxygen-ps: \$(DX_CLEAN_PS)
463 rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\
468 while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\
470 && test \$\$countdown -gt 0; do \\
472 countdown=\`expr \$\$countdown - 1\`; \\
474 \$(DX_DVIPS) -o ../\$(PACKAGE).ps refman.dvi
478 AS_IF([[test $DX_FLAG_pdf -eq 1]],
479 [[DX_SNIPPET_pdf="## ------------------------------ ##
480 ## Rules specific for PDF output. ##
481 ## ------------------------------ ##
487 DX_PDF_GOAL = doxygen-pdf
489 doxygen-pdf: \$(DX_CLEAN_PDF)
494 rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\
499 while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\
501 && test \$\$countdown -gt 0; do \\
503 countdown=\`expr \$\$countdown - 1\`; \\
509 AS_IF([[test $DX_FLAG_ps -eq 1 -o $DX_FLAG_pdf -eq 1]],
510 [[DX_SNIPPET_latex="## ------------------------------------------------- ##
512 ## ------------------------------------------------- ##
525 AS_IF([[test $DX_FLAG_doc -eq 1]],
526 [[DX_SNIPPET_doc="## --------------------------------- ##
527 ## Format-independent Doxygen rules. ##
528 ## --------------------------------- ##
542 .PHONY: doxygen-run doxygen-doc \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
544 .INTERMEDIATE: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
546 doxygen-run:]m4_foreach([DX_i], [DX_loop],
549 doxygen-doc: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
553 \$(A""M_V_at)rm -rf \$(DX_DOCDIR]DX_i[)
563 [ -r \\