doc/Makefile.am
author athos
Fri, 24 Jun 2005 08:44:54 +0000
changeset 1511 d6b95a59da26
parent 1479 5b64e502e5b3
child 1545 e8378402f97e
permissions -rw-r--r--
Half-done, but I want to continue from home.
     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