doc/Makefile.am
branchlemon-1.0
changeset 2647 aa4a3a04fb4c
child 2649 68eaa3e9029d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/doc/Makefile.am	Tue Jul 04 10:06:24 2006 +0000
     1.3 @@ -0,0 +1,66 @@
     1.4 +htmldir = $(datadir)/doc/$(PACKAGE)/html
     1.5 +
     1.6 +EXTRA_DIST += \
     1.7 +	doc/html \
     1.8 +	doc/icons/geom/ftv2doc.png \
     1.9 +	doc/icons/geom/ftv2folderclosed.png \
    1.10 +	doc/icons/geom/ftv2folderopen.png \
    1.11 +	doc/coding_style.dox \
    1.12 +	doc/developers_interface.dox \
    1.13 +	doc/dirs.dox \
    1.14 +	doc/getstart.dox \
    1.15 +	doc/graph-adaptors.dox \
    1.16 +	doc/graph_io.dox \
    1.17 +	doc/graphs.dox \
    1.18 +	doc/groups.dox \
    1.19 +	doc/license.dox \
    1.20 +	doc/mainpage.dox \
    1.21 +	doc/maps.dox \
    1.22 +	doc/named-param.dox \
    1.23 +	doc/namespaces.dox \
    1.24 +	doc/quicktour.dox \
    1.25 +	doc/ugraphs.dox
    1.26 +
    1.27 +doc:
    1.28 +	if test ${doxygen_found} = yes; then \
    1.29 +	  cd doc; \
    1.30 +	  doxygen Doxyfile; \
    1.31 +	  cd ..; \
    1.32 +	  cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
    1.33 +	fi
    1.34 +
    1.35 +doc-clean:
    1.36 +	if test ${doxygen_found} = yes; then \
    1.37 +	  rm -rf doc/html; \
    1.38 +	  rm -f doc/doxygen.log; \
    1.39 +	  cd doc; \
    1.40 +	  doxygen Doxyfile; \
    1.41 +	  cd ..; \
    1.42 +	  cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
    1.43 +	fi
    1.44 +
    1.45 +clean-local:
    1.46 +	-rm -rf doc/html
    1.47 +	-rm -f doc/doxygen.log
    1.48 +
    1.49 +doc/html:
    1.50 +	$(MAKE) $(AM_MAKEFLAGS) doc-clean
    1.51 +
    1.52 +install-data-local: doc/html
    1.53 +	@$(NORMAL_INSTALL)
    1.54 +	$(mkinstalldirs) $(DESTDIR)$(htmldir)
    1.55 +	@dir='doc/html'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
    1.56 +	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    1.57 +	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
    1.58 +	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
    1.59 +	done
    1.60 +
    1.61 +uninstall-local: doc/html
    1.62 +	@$(NORMAL_UNINSTALL)
    1.63 +	@dir='doc/html'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
    1.64 +	  f="`echo $$p | sed -e 's|^.*/||'`"; \
    1.65 +	  echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
    1.66 +	  rm -f $(DESTDIR)$(htmldir)/$$f; \
    1.67 +	done
    1.68 +
    1.69 +.PHONY: doc doc-clean