ladanyi@1671: htmldir = $(datadir)/doc/$(PACKAGE)/html
ladanyi@542:
ladanyi@2108: EXTRA_DIST += \
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 \
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 \
ladanyi@2108: doc/license.dox \
ladanyi@2108: doc/mainpage.dox \
ladanyi@2108: doc/maps.dox \
ladanyi@2108: doc/named-param.dox \
ladanyi@2108: doc/namespaces.dox \
ladanyi@2108: doc/quicktour.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@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@2108: .PHONY: doc doc-clean