EXTRA_DIST = $(doxygen_input) $(static_pages) mainpage.dox doxygen_input = header.html footer.html static_pages = FAQ #static_pages = CCUNITSRCS=$(top_srcdir)/src/ccunit/*.[ch] $(top_srcdir)/src/tools/*.c if DOC htmldir = $(pkgdatadir)/html html_DATA = $(static_pages) html/index.html install-data-hook: cp -p $(static_pages) html cp -dpR html/* $(DESTDIR)$(htmldir) # Automake's "distcheck" is sensitive to having files left over # after "make uninstall", so we have to clean up the install hook. uninstall-local: rm -rf $(DESTDIR)$(htmldir) dox: html/index.html EXTRA_DIST += html dist-hook: cp -p $(static_pages) $(distdir)/html else # We repeat the three targets in both the "if" and "else" clauses # of the conditional, because the generated makefile will contain # references to the targets (target "install" depends on target # "install-datahook", for example), and some make programs get upset # if no target exists. install-data-hook: uninstall-local: dox: endif all-local: dox html/index.html: Doxyfile $(doxygen_input) $(CCUNITSRCS) mainpage.dox @DOXYGEN@ pdf: @PACKAGE@.pdf @PACKAGE@.pdf: $(MAKE) -C ./latex pdf ln -s ./latex/refman.ps @PACKAGE@.ps ln -s ./latex/refman.pdf @PACKAGE@.pdf clean-local: $(RM) -r latex $(RM) -r html man @PACKAGE@.ps @PACKAGE@.pdf CLEANFILES=*~ .*~ ./\#*\# *.log