4 # Copyright (C) 1997-2014 by Dimitri van Heesch.
6 # Permission to use, copy, modify, and distribute this software and its
7 # documentation under the terms of the GNU General Public License is hereby
8 # granted. No representations are made about the suitability of this software
9 # for any purpose. It is provided "as is" without express or implied warranty.
10 # See the GNU General Public License for more details.
12 # Documents produced by Doxygen are derivative works derived from the
13 # input used in their production; they are not affected by this license.
15 all: language config.doc FORCE
16 DOXYGEN_DOCDIR=$(DOXYDOCS); \
17 export DOXYGEN_DOCDIR; \
18 VERSION=$(VERSION) ; \
20 $(DOXYGEN)/bin/doxygen
21 @rm -f ../latex/refman.tex
22 @cp doxygen_logo*.gif ../html
23 @cp Makefile.latex ../latex/Makefile
24 @sed -e "s/\$$VERSION/$(VERSION)/g" doxygen_manual.tex >../latex/doxygen_manual.tex
25 @sed -e "s/\$$VERSION/$(VERSION)/g" doxygen.sty >../latex/doxygen.sty
26 @epstopdf doxygen_logo.eps --outfile=../latex/doxygen_logo.pdf
29 rm -rf ../html ../latex *.bak
31 language: language.doc
33 language.doc: $(wildcard ../src/translator*.h) maintainers.txt language.tpl translator.py
34 $(PYTHON) translator.py
36 config.doc: ../src/config.xml ../src/configgen.py
37 $(PYTHON) ../src/configgen.py -doc ../src/config.xml > config.doc