doc/Makefile.am
author alpar
Tue, 15 Feb 2005 14:56:54 +0000
changeset 1147 014054ffd9d2
parent 614 75cf1d52eee5
child 1177 e41c2907fb49
permissions -rw-r--r--
Make Makefile.am up-to-date (as usual).
     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)'; shopt -s nullglob; 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)'; shopt -s nullglob; 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