doc/Makefile.am
author jacint
Sat, 08 May 2004 18:03:43 +0000
changeset 588 510cf257e6f2
parent 542 69bde1d90c04
child 614 75cf1d52eee5
permissions -rw-r--r--
felkesz tesztprogi
     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
     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