Makefile.in 1.19 KB
Newer Older
1
#
Dimitri van Heesch's avatar
Dimitri van Heesch committed
2
# 
3
#
Dimitri van Heesch's avatar
Dimitri van Heesch committed
4
# Copyright (C) 1997-2013 by Dimitri van Heesch.
5 6 7 8 9 10 11
#
# Permission to use, copy, modify, and distribute this software and its
# documentation under the terms of the GNU General Public License is hereby 
# granted. No representations are made about the suitability of this software 
# for any purpose. It is provided "as is" without express or implied warranty.
# See the GNU General Public License for more details.
#
Dimitri van Heesch's avatar
Dimitri van Heesch committed
12 13
# Documents produced by Doxygen are derivative works derived from the
# input used in their production; they are not affected by this license.
Dimitri van Heesch's avatar
Dimitri van Heesch committed
14

Dimitri van Heesch's avatar
Dimitri van Heesch committed
15
all: language FORCE
16
	DOXYGEN_DOCDIR=$(DOXYDOCS); \
Dimitri van Heesch's avatar
Dimitri van Heesch committed
17 18 19
	export DOXYGEN_DOCDIR; \
        VERSION=$(VERSION) ; \
	export VERSION; \
20
	$(DOXYGEN)/bin/doxygen
Dimitri van Heesch's avatar
Dimitri van Heesch committed
21 22 23 24 25
	@rm -f ../latex/refman.tex
	@cp doxygen_logo*.gif ../html
	@cp Makefile.latex ../latex/Makefile
	@sed -e "s/\$$VERSION/$(VERSION)/g" doxygen_manual.tex >../latex/doxygen_manual.tex
	@sed -e "s/\$$VERSION/$(VERSION)/g" doxygen.sty >../latex/doxygen.sty 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
26
	@epstopdf doxygen_logo.eps --outfile=../latex/doxygen_logo.pdf
Dimitri van Heesch's avatar
Dimitri van Heesch committed
27 28

clean: 
29
	rm -rf ../html ../latex *.bak 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
30

Dimitri van Heesch's avatar
Dimitri van Heesch committed
31
language: language.doc 
32

33
language.doc: $(wildcard ../src/translator*.h) maintainers.txt language.tpl translator.py
34
	python translator.py
Dimitri van Heesch's avatar
Dimitri van Heesch committed
35 36

FORCE: