doc/Makefile.am
author athos
Thu, 30 Jun 2005 16:13:30 +0000
changeset 1526 8c14aa8f27a2
parent 1479 5b64e502e5b3
child 1545 e8378402f97e
permissions -rw-r--r--
Mainly doc review.
     1 htmldir = $(datadir)/doc/$(DOCSUFFIX)/html
     2 
     3 EXTRA_DIST = html icons mainpage.dox getstart.dox quicktour.dox \
     4 	demoprograms.dox graphs.dox undir_graphs.dox named-param.dox \
     5 	maps.dox coding_style.dox groups.dox namespaces.dox license.dox \
     6 	developers_interface.dox graph_io.dox dirs.dox graph-adaptors.dox
     7 
     8 html/index.html:
     9 	if test ${doxygen_found} = yes; then \
    10 	  doxygen Doxyfile; \
    11 	  cp $(srcdir)/icons/geom/ftv2* html; \
    12 	fi
    13 
    14 html: html/index.html
    15 
    16 clean-local:
    17 	-rm -rf html
    18 
    19 install-data-local: html/index.html
    20 	@$(NORMAL_INSTALL)
    21 	$(mkinstalldirs) $(DESTDIR)$(htmldir)
    22 	@dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
    23 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    24 	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
    25 	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
    26 	done
    27 
    28 uninstall-local: html/index.html
    29 	@$(NORMAL_UNINSTALL)
    30 	@dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
    31 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    32 	  echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
    33 	  rm -f $(DESTDIR)$(htmldir)/$$f; \
    34 	done