1 ## --------------------------------- ##
2 ## Format-independent Doxygen rules. ##
3 ## --------------------------------- ##
5 ## ------------------------------- ##
6 ## Rules specific for HTML output. ##
7 ## ------------------------------- ##
9 DX_CLEAN_HTML = @DX_DOCDIR@/html
11 ## ------------------------------ ##
12 ## Rules specific for CHM output. ##
13 ## ------------------------------ ##
15 DX_CLEAN_CHM = @DX_DOCDIR@/chm
17 DX_CLEAN_CHI = @DX_DOCDIR@/@PACKAGE@.chi
20 ## ------------------------------ ##
21 ## Rules specific for MAN output. ##
22 ## ------------------------------ ##
24 DX_CLEAN_MAN = @DX_DOCDIR@/man
26 ## ------------------------------ ##
27 ## Rules specific for RTF output. ##
28 ## ------------------------------ ##
30 DX_CLEAN_RTF = @DX_DOCDIR@/rtf
32 ## ------------------------------ ##
33 ## Rules specific for XML output. ##
34 ## ------------------------------ ##
36 DX_CLEAN_XML = @DX_DOCDIR@/xml
38 ## ----------------------------- ##
39 ## Rules specific for PS output. ##
40 ## ----------------------------- ##
42 DX_CLEAN_PS = @DX_DOCDIR@/@PACKAGE@.ps
43 DX_PS_GOAL = doxygen-ps
44 doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps
45 @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag
46 cd @DX_DOCDIR@/latex; \
47 rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
48 $(DX_LATEX) refman.tex; \
49 $(MAKEINDEX_PATH) refman.idx; \
50 $(DX_LATEX) refman.tex; \
52 while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
53 refman.log > /dev/null 2>&1 && test $$countdown -gt 0; do \
54 $(DX_LATEX) refman.tex; \
55 countdown=`expr $$countdown - 1`; \
57 $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi
59 ## ------------------------------ ##
60 ## Rules specific for PDF output. ##
61 ## ------------------------------ ##
63 DX_CLEAN_PDF = @DX_DOCDIR@/@PACKAGE@.pdf
64 DX_PDF_GOAL = doxygen-pdf
65 doxygen-pdf: @DX_DOCDIR@/@PACKAGE@.pdf
66 @DX_DOCDIR@/@PACKAGE@.pdf: @DX_DOCDIR@/@PACKAGE@.tag
67 cd @DX_DOCDIR@/latex; \
68 rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
69 $(DX_PDFLATEX) refman.tex; \
70 $(DX_MAKEINDEX) refman.idx; \
71 $(DX_PDFLATEX) refman.tex; \
73 while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
74 refman.log > /dev/null 2>&1 && test $$countdown -gt 0; do \
75 $(DX_PDFLATEX) refman.tex; \
76 countdown=`expr $$countdown - 1`; \
78 mv refman.pdf ../@PACKAGE@.pdf
80 ## ------------------------------------------------- ##
81 ## Rules specific for LaTeX (shared for PS and PDF). ##
82 ## ------------------------------------------------- ##
84 DX_CLEAN_LATEX = @DX_DOCDIR@/latex
86 .PHONY: doxygen-run doxygen-doc $(DX_PS_GOAL) $(DX_PDF_GOAL)
87 .INTERMEDIATE: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL)
88 doxygen-run: @DX_DOCDIR@/@PACKAGE@.tag
89 doxygen-doc: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL)
90 @DX_DOCDIR@/@PACKAGE@.tag: $(DX_CONFIG) $(pkginclude_HEADERS)
92 $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG)
94 @DX_DOCDIR@/@PACKAGE@.tag \