Hash :
15f659bb
Author :
Date :
2008-05-02T13:28:37
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
if HAVE_DOXYGEN
htmldocdir = $(datadir)/doc/ftgl/html
htmldoc_DATA = html/doxygen.css
if HAVE_LATEX
pdfdocdir = $(datadir)/doc/ftgl
pdfdoc_DATA = latex/ftgl.pdf
endif
endif
IMAGES = \
images/ftgl.png \
images/metrics.png \
$(NULL)
html/doxygen.css: stamp-doxygen
stamp-doxygen: doxygen.cfg
$(DOXYGEN) $^
cp $(IMAGES) html/
touch $@
latex/ftgl.pdf: stamp-latex
stamp-latex: stamp-doxygen
rm -f latex/ftgl.tex latex/ftgl.pdf
mv latex/refman.tex latex/ftgl.tex
sed 's/setlength{/renewcommand{/' latex/ftgl.tex > latex/refman.tex
cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf #|| (cat refman.log; exit 1)
mv latex/refman.pdf latex/ftgl.pdf
touch stamp-latex
clean: clean-local
clean-local:
$(RM) -rf html latex
$(RM) stamp-doxygen stamp-latex
if HAVE_DOXYGEN
install-data-local: html/doxygen.css
$(mkinstalldirs) $(DESTDIR)$(htmldocdir)/
$(INSTALL) -m 0644 \
`find html -name '*.html' -o -name '*.gif' -o -name '*.png' -o -name '*.jpg'` \
$(DESTDIR)$(htmldocdir)/
endif
EXTRA_DIST = \
doxygen.cfg.in \
ftgl.dox \
FTGL_1_3.gif \
$(IMAGES) \
images/metrics.svg \
$(NULL)
NULL =