Makefile.am 532 Bytes
Newer Older
1
2
DOXYGEN = doxygen

3
.PHONY: doc spot
4

5
all-local: $(srcdir)/stamp
6

7
doc:
8
9
	rm -f $(srcdir)/stamp
	$(MAKE) $(srcdir)/stamp
10

11
$(srcdir)/stamp: $(srcdir)/Doxyfile.in $(top_srcdir)/configure.ac
12
	$(MAKE) Doxyfile
13
	rm -rf spot.html spot.latex
14
	$(DOXYGEN)
15
	touch $@
16

17
18
spot.html: $(srcdir)/stamp
spot.latex: $(srcdir)/stamp
19

20
$(srcdir)/spotref.pdf: $(srcdir)/stamp
21
	cd $(srcdir)/spot.latex \
22
23
24
25
	  && texi2dvi --pdf refman.tex \
	  && cd .. && mv -f spot.latex/refman.pdf $@

EXTRA_DIST = $(srcdir)/stamp spot.html mainpage.dox $(srcdir)/spotref.pdf