1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/doc/Makefile.am Thu May 06 13:48:04 2004 +0000
1.3 @@ -0,0 +1,40 @@
1.4 +## TODO: Doxyfile should be generated from Doxyfile.in by configure. This way
1.5 +## the value of PROJECT_NAME, PROJRCT_NUMBER, PERL_PATH, etc. could be
1.6 +## substituted in configure-time.
1.7 +
1.8 +htmldir = $(datadir)/doc/@PACKAGE@-@VERSION@/html
1.9 +## htmldir = $(pkgdatadir)/doc
1.10 +
1.11 +EXTRA_DIST = Doxyfile html
1.12 +
1.13 +all-local: html/index.html
1.14 +
1.15 +## TODO: 'html/index.html' should depend on the files listed in Doxyfile's
1.16 +## INPUT variable.
1.17 +html/index.html: Doxyfile
1.18 + -rm -rf html
1.19 + doxygen Doxyfile
1.20 +
1.21 +## This is needed to make 'make dist' work even if the 'html' subdirectory
1.22 +## does not exist.
1.23 +html: html/index.html
1.24 +
1.25 +clean-local:
1.26 + -rm -rf html
1.27 +
1.28 +install-data-local: html/index.html
1.29 + @$(NORMAL_INSTALL)
1.30 + $(mkinstalldirs) $(DESTDIR)$(htmldir)
1.31 + @dir='$(<D)'; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx ; do \
1.32 + f="`echo $$p | sed -e 's|^.*/||'`"; \
1.33 + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
1.34 + $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
1.35 + done
1.36 +
1.37 +uninstall-local: html/index.html
1.38 + @$(NORMAL_UNINSTALL)
1.39 + @dir='$(<D)'; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx ; do \
1.40 + f="`echo $$p | sed -e 's|^.*/||'`"; \
1.41 + echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
1.42 + rm -f $(DESTDIR)$(htmldir)/$$f; \
1.43 + done