doc/Makefile.am
author marci
Wed, 12 May 2004 13:22:10 +0000
changeset 622 b66a28401f3f
parent 562 0ed29fe9d071
child 1072 ce824c6ffd5d
permissions -rw-r--r--
(none)
     1 ## TODO: Doxyfile should be generated from Doxyfile.in by configure. This way
     2 ## the value of PROJECT_NAME, PROJRCT_NUMBER, PERL_PATH, etc. could be
     3 ## substituted in configure-time.
     4 
     5 htmldir = $(datadir)/doc/@PACKAGE@-@VERSION@/html
     6 ## htmldir = $(pkgdatadir)/doc
     7 
     8 EXTRA_DIST = Doxyfile html coding_style.dox groups.dox mainpage.dox maps.dox
     9 
    10 ## all-local: html/index.html
    11 
    12 ## TODO: 'html/index.html' should depend on the files listed in Doxyfile's
    13 ## INPUT variable.
    14 html/index.html: Doxyfile
    15 	-rm -rf html
    16 	doxygen Doxyfile
    17 
    18 ## This is needed to make 'make dist' work even if the 'html' subdirectory
    19 ## does not exist.
    20 html: html/index.html
    21 
    22 clean-local:
    23 	-rm -rf html
    24 
    25 install-data-local: html/index.html
    26 	@$(NORMAL_INSTALL)
    27 	$(mkinstalldirs) $(DESTDIR)$(htmldir)
    28 	@dir='$(<D)'; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx ; do \
    29 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    30 	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
    31 	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
    32 	done
    33 
    34 uninstall-local: html/index.html
    35 	@$(NORMAL_UNINSTALL)
    36 	@dir='$(<D)'; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx ; do \
    37 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    38 	  echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
    39 	  rm -f $(DESTDIR)$(htmldir)/$$f; \
    40 	done