1 EXTRA_DIST = $(doxygen_input) $(static_pages)
3 doxygen_input = header.html footer.html
7 CCUNITSRCS=$(top_srcdir)/src/ccunit/*.[ch] $(top_srcdir)/src/tools/*.c
11 htmldir = $(pkgdatadir)/html
12 html_DATA = $(static_pages) html/index.html
15 cp -p $(static_pages) html
16 cp -dpR html/* $(DESTDIR)$(htmldir)
18 # Automake's "distcheck" is sensitive to having files left over
19 # after "make uninstall", so we have to clean up the install hook.
21 rm -rf $(DESTDIR)$(htmldir)
28 cp -p $(static_pages) $(distdir)/html
32 # We repeat the three targets in both the "if" and "else" clauses
33 # of the conditional, because the generated makefile will contain
34 # references to the targets (target "install" depends on target
35 # "install-datahook", for example), and some make programs get upset
36 # if no target exists.
47 html/index.html: Doxyfile $(doxygen_input) $(CCUNITSRCS)
52 $(MAKE) -C ./latex pdf
53 ln -s ./latex/refman.ps @PACKAGE@.ps
54 ln -s ./latex/refman.pdf @PACKAGE@.pdf
59 $(RM) -r html man @PACKAGE@.ps @PACKAGE@.pdf
61 CLEANFILES=*~ .*~ ./\#*\# *.log