doc/Makefile.am
author deba
Wed, 13 Jul 2005 14:17:13 +0000
changeset 1554 572bc7d0d3e2
parent 1487 6ea6d0d789c6
child 1608 d1b5a3cf8331
permissions -rw-r--r--
Demo displays information on the screen
Added to Makefile.am
     1 htmldir = $(datadir)/doc/$(DOCSUFFIX)/html
     2 
     3 EXTRA_DIST = \
     4 	html \
     5 	icons/geom/ftv2doc.png \
     6 	icons/geom/ftv2folderclosed.png \
     7 	icons/geom/ftv2folderopen.png \
     8 	coding_style.dox \
     9 	demoprograms.dox \
    10 	developers_interface.dox \
    11 	dirs.dox \
    12 	getstart.dox \
    13 	graph-adaptors.dox \
    14 	graph_io.dox \
    15 	graphs.dox \
    16 	groups.dox \
    17 	license.dox \
    18 	mainpage.dox \
    19 	maps.dox \
    20 	named-param.dox \
    21 	namespaces.dox \
    22 	quicktour.dox \
    23 	undir_graphs.dox
    24 
    25 html/index.html:
    26 	if test ${doxygen_found} = yes; then \
    27 	  doxygen Doxyfile; \
    28 	  cp $(srcdir)/icons/geom/ftv2* html; \
    29 	fi
    30 
    31 html: html/index.html
    32 
    33 clean-local:
    34 	-rm -rf html
    35 
    36 install-data-local: html/index.html
    37 	@$(NORMAL_INSTALL)
    38 	$(mkinstalldirs) $(DESTDIR)$(htmldir)
    39 	@dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
    40 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    41 	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
    42 	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
    43 	done
    44 
    45 uninstall-local: html/index.html
    46 	@$(NORMAL_UNINSTALL)
    47 	@dir='$(<D)'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
    48 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    49 	  echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
    50 	  rm -f $(DESTDIR)$(htmldir)/$$f; \
    51 	done