ladanyi@1671: htmldir = $(datadir)/doc/$(PACKAGE)/html ladanyi@542: ladanyi@2108: EXTRA_DIST += \ ladanyi@2119: doc/Makefile \ ladanyi@2118: doc/Doxyfile.in \ ladanyi@2108: doc/html \ ladanyi@2108: doc/icons/geom/ftv2doc.png \ ladanyi@2108: doc/icons/geom/ftv2folderclosed.png \ ladanyi@2108: doc/icons/geom/ftv2folderopen.png \ alpar@2196: doc/algorithms.dox \ ladanyi@2108: doc/coding_style.dox \ ladanyi@2108: doc/developers_interface.dox \ ladanyi@2108: doc/dirs.dox \ ladanyi@2108: doc/getstart.dox \ ladanyi@2108: doc/graph-adaptors.dox \ ladanyi@2108: doc/graph_io.dox \ ladanyi@2108: doc/graphs.dox \ ladanyi@2108: doc/groups.dox \ alpar@2216: doc/lemon_file_format.dox \ ladanyi@2108: doc/license.dox \ ladanyi@2108: doc/mainpage.dox \ ladanyi@2108: doc/maps.dox \ alpar@2196: doc/maps1.dox \ alpar@2196: doc/maps2.dox \ ladanyi@2108: doc/named-param.dox \ ladanyi@2108: doc/namespaces.dox \ ladanyi@2108: doc/quicktour.dox \ alpar@2216: doc/read_write_bg.dox \ ladanyi@2108: doc/ugraphs.dox alpar@1177: ladanyi@2108: doc: klao@1450: if test ${doxygen_found} = yes; then \ ladanyi@2108: cd doc; \ klao@1450: doxygen Doxyfile; \ ladanyi@2108: cd ..; \ ladanyi@2108: cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \ klao@1450: fi ladanyi@542: ladanyi@2108: doc-clean: ladanyi@2108: if test ${doxygen_found} = yes; then \ ladanyi@2108: rm -rf doc/html; \ ladanyi@2108: rm -f doc/doxygen.log; \ ladanyi@2108: cd doc; \ ladanyi@2108: doxygen Doxyfile; \ ladanyi@2108: cd ..; \ ladanyi@2108: cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \ ladanyi@2108: fi ladanyi@542: ladanyi@542: clean-local: ladanyi@2108: -rm -rf doc/html ladanyi@2108: -rm -f doc/doxygen.log ladanyi@542: ladanyi@2108: doc/html: ladanyi@2108: $(MAKE) $(AM_MAKEFLAGS) doc-clean ladanyi@2108: ladanyi@2127: if WANT_DOC ladanyi@2127: ladanyi@2108: install-data-local: doc/html ladanyi@542: @$(NORMAL_INSTALL) ladanyi@542: $(mkinstalldirs) $(DESTDIR)$(htmldir) ladanyi@2108: @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 \ ladanyi@542: f="`echo $$p | sed -e 's|^.*/||'`"; \ ladanyi@542: echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \ ladanyi@542: $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \ ladanyi@542: done ladanyi@542: ladanyi@2108: uninstall-local: doc/html ladanyi@542: @$(NORMAL_UNINSTALL) ladanyi@2108: @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 \ ladanyi@542: f="`echo $$p | sed -e 's|^.*/||'`"; \ ladanyi@542: echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \ ladanyi@542: rm -f $(DESTDIR)$(htmldir)/$$f; \ ladanyi@542: done ladanyi@2108: ladanyi@2127: endif WANT_DOC ladanyi@2127: ladanyi@2108: .PHONY: doc doc-clean