spot/doc/Makefile.am
Alexandre Duret-Lutz b53d8aac71 * doc/Doxygen.in: Enable LaTeX output.
* doc/Makefile.am (spotref.pdf): New rule.
(EXTRA_DIST): Add spotref.pdf.
2003-06-30 12:07:30 +00:00

25 lines
522 B
Makefile

DOXYGEN = doxygen
.PHONY: doc spot
all-local: $(srcdir)/stamp
doc:
rm -f $(srcdir)/stamp
$(MAKE) $(srcdir)/stamp
$(srcdir)/stamp: $(srcdir)/Doxyfile.in $(top_srcdir)/configure.ac
$(MAKE) Doxyfile
rm -rf spot.html spot.latex
$(DOXYGEN)
touch $@
spot.html: $(srcdir)/stamp
spot.latex: $(srcdir)/stamp
$(srcdir)/spotref.pdf: $(srcdir)/stamp
cd spot.latex \
&& texi2dvi --pdf refman.tex \
&& cd .. && mv -f spot.latex/refman.pdf $@
EXTRA_DIST = $(srcdir)/stamp spot.html mainpage.dox $(srcdir)/spotref.pdf