annotate aminclude.am @ 1753:c4d37e0fc841 default tip

installation fix
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 29 Jan 2010 19:22:50 +0900
parents fbd02e4d709e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1454
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
1 # Copyright (C) 2004 Oren Ben-Kiki
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
2 # This file is distributed under the same terms as the Automake macro files.
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
3
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
4 # Generate automatic documentation using Doxygen. Goals and variables values
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
5 # are controlled by the various DX_COND_??? conditionals set by autoconf.
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
6 #
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
7 # The provided goals are:
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
8 # doxygen-doc: Generate all doxygen documentation.
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
9 # doxygen-run: Run doxygen, which will generate some of the documentation
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
10 # (HTML, CHM, CHI, MAN, RTF, XML) but will not do the post
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
11 # processing required for the rest of it (PS, PDF, and some MAN).
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
12 # doxygen-man: Rename some doxygen generated man pages.
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
13 # doxygen-ps: Generate doxygen PostScript documentation.
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
14 # doxygen-pdf: Generate doxygen PDF documentation.
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
15 #
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
16 # Note that by default these are not integrated into the automake goals. If
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
17 # doxygen is used to generate man pages, you can achieve this integration by
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
18 # setting man3_MANS to the list of man pages generated and then adding the
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
19 # dependency:
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
20 #
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
21 # $(man3_MANS): doxygen-doc
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
22 #
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
23 # This will cause make to run doxygen and generate all the documentation.
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
24 #
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
25 # The following variable is intended for use in Makefile.am:
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
26 #
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
27 # DX_CLEANFILES = everything to clean.
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
28 #
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
29 # This is usually added to MOSTLYCLEANFILES.
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
30
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
31 ## --------------------------------- ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
32 ## Format-independent Doxygen rules. ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
33 ## --------------------------------- ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
34
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
35 if DX_COND_doc
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
36
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
37 ## ------------------------------- ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
38 ## Rules specific for HTML output. ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
39 ## ------------------------------- ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
40
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
41 if DX_COND_html
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
42
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
43 DX_CLEAN_HTML = @DX_DOCDIR@/html
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
44
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
45 endif DX_COND_html
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
46
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
47 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
48 ## Rules specific for CHM output. ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
49 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
50
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
51 if DX_COND_chm
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
52
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
53 DX_CLEAN_CHM = @DX_DOCDIR@/chm
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
54
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
55 if DX_COND_chi
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
56
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
57 DX_CLEAN_CHI = @DX_DOCDIR@/@PACKAGE@.chi
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
58
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
59 endif DX_COND_chi
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
60
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
61 endif DX_COND_chm
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
62
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
63 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
64 ## Rules specific for MAN output. ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
65 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
66
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
67 if DX_COND_man
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
68
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
69 DX_CLEAN_MAN = @DX_DOCDIR@/man
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
70
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
71 endif DX_COND_man
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
72
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
73 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
74 ## Rules specific for RTF output. ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
75 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
76
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
77 if DX_COND_rtf
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
78
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
79 DX_CLEAN_RTF = @DX_DOCDIR@/rtf
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
80
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
81 endif DX_COND_rtf
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
82
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
83 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
84 ## Rules specific for XML output. ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
85 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
86
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
87 if DX_COND_xml
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
88
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
89 DX_CLEAN_XML = @DX_DOCDIR@/xml
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
90
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
91 endif DX_COND_xml
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
92
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
93 ## ----------------------------- ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
94 ## Rules specific for PS output. ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
95 ## ----------------------------- ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
96
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
97 if DX_COND_ps
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
98
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
99 DX_CLEAN_PS = @DX_DOCDIR@/@PACKAGE@.ps
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
100
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
101 DX_PS_GOAL = doxygen-ps
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
102
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
103 doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
104
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
105 @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
106 cd @DX_DOCDIR@/latex; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
107 rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
108 $(DX_LATEX) refman.tex; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
109 $(MAKEINDEX_PATH) refman.idx; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
110 $(DX_LATEX) refman.tex; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
111 countdown=5; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
112 while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
113 refman.log > /dev/null 2>&1 \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
114 && test $$countdown -gt 0; do \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
115 $(DX_LATEX) refman.tex; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
116 countdown=`expr $$countdown - 1`; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
117 done; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
118 $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
119
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
120 endif DX_COND_ps
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
121
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
122 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
123 ## Rules specific for PDF output. ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
124 ## ------------------------------ ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
125
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
126 if DX_COND_pdf
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
127
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
128 DX_CLEAN_PDF = @DX_DOCDIR@/@PACKAGE@.pdf
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
129
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
130 DX_PDF_GOAL = doxygen-pdf
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
131
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
132 doxygen-pdf: @DX_DOCDIR@/@PACKAGE@.pdf
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
133
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
134 @DX_DOCDIR@/@PACKAGE@.pdf: @DX_DOCDIR@/@PACKAGE@.tag
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
135 cd @DX_DOCDIR@/latex; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
136 rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
137 $(DX_PDFLATEX) refman.tex; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
138 $(DX_MAKEINDEX) refman.idx; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
139 $(DX_PDFLATEX) refman.tex; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
140 countdown=5; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
141 while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
142 refman.log > /dev/null 2>&1 \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
143 && test $$countdown -gt 0; do \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
144 $(DX_PDFLATEX) refman.tex; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
145 countdown=`expr $$countdown - 1`; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
146 done; \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
147 mv refman.pdf ../@PACKAGE@.pdf
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
148
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
149 endif DX_COND_pdf
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
150
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
151 ## ------------------------------------------------- ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
152 ## Rules specific for LaTeX (shared for PS and PDF). ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
153 ## ------------------------------------------------- ##
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
154
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
155 if DX_COND_latex
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
156
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
157 DX_CLEAN_LATEX = @DX_DOCDIR@/latex
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
158
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
159 endif DX_COND_latex
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
160
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
161 .PHONY: doxygen-run doxygen-doc $(DX_PS_GOAL) $(DX_PDF_GOAL)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
162
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
163 .INTERMEDIATE: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
164
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
165 doxygen-run: @DX_DOCDIR@/@PACKAGE@.tag
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
166
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
167 doxygen-doc: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
168
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
169 @DX_DOCDIR@/@PACKAGE@.tag: $(DX_CONFIG) $(pkginclude_HEADERS)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
170 rm -rf @DX_DOCDIR@
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
171 $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
172
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
173 DX_CLEANFILES = \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
174 @DX_DOCDIR@/@PACKAGE@.tag \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
175 -r \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
176 $(DX_CLEAN_HTML) \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
177 $(DX_CLEAN_CHM) \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
178 $(DX_CLEAN_CHI) \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
179 $(DX_CLEAN_MAN) \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
180 $(DX_CLEAN_RTF) \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
181 $(DX_CLEAN_XML) \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
182 $(DX_CLEAN_PS) \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
183 $(DX_CLEAN_PDF) \
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
184 $(DX_CLEAN_LATEX)
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
185
fbd02e4d709e Preliminary support for doxygen: make doxygen-doc will create documentation from sources in doc/doxygen directory.
zas_
parents:
diff changeset
186 endif DX_COND_doc