ladanyi@2647: htmldir = $(datadir)/doc/$(PACKAGE)/html
ladanyi@2647:
ladanyi@2647: EXTRA_DIST += \
ladanyi@2649: doc/html
ladanyi@2649: ## doc/icons/geom/ftv2doc.png \
ladanyi@2649: ## doc/icons/geom/ftv2folderclosed.png \
ladanyi@2649: ## doc/icons/geom/ftv2folderopen.png \
ladanyi@2649: ## doc/coding_style.dox \
ladanyi@2649: ## doc/developers_interface.dox \
ladanyi@2649: ## doc/dirs.dox \
ladanyi@2649: ## doc/getstart.dox \
ladanyi@2649: ## doc/graph-adaptors.dox \
ladanyi@2649: ## doc/graph_io.dox \
ladanyi@2649: ## doc/graphs.dox \
ladanyi@2649: ## doc/groups.dox \
ladanyi@2649: ## doc/license.dox \
ladanyi@2649: ## doc/mainpage.dox \
ladanyi@2649: ## doc/maps.dox \
ladanyi@2649: ## doc/named-param.dox \
ladanyi@2649: ## doc/namespaces.dox \
ladanyi@2649: ## doc/quicktour.dox \
ladanyi@2649: ## doc/ugraphs.dox
ladanyi@2647:
ladanyi@2647: doc:
ladanyi@2647: if test ${doxygen_found} = yes; then \
ladanyi@2647: cd doc; \
ladanyi@2647: doxygen Doxyfile; \
ladanyi@2647: cd ..; \
ladanyi@2647: cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
ladanyi@2647: fi
ladanyi@2647:
ladanyi@2647: doc-clean:
ladanyi@2647: if test ${doxygen_found} = yes; then \
ladanyi@2647: rm -rf doc/html; \
ladanyi@2647: rm -f doc/doxygen.log; \
ladanyi@2647: cd doc; \
ladanyi@2647: doxygen Doxyfile; \
ladanyi@2647: cd ..; \
ladanyi@2647: cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
ladanyi@2647: fi
ladanyi@2647:
ladanyi@2647: clean-local:
ladanyi@2647: -rm -rf doc/html
ladanyi@2647: -rm -f doc/doxygen.log
ladanyi@2647:
ladanyi@2647: doc/html:
ladanyi@2647: $(MAKE) $(AM_MAKEFLAGS) doc-clean
ladanyi@2647:
ladanyi@2647: install-data-local: doc/html
ladanyi@2647: @$(NORMAL_INSTALL)
ladanyi@2647: $(mkinstalldirs) $(DESTDIR)$(htmldir)
ladanyi@2647: @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@2647: f="`echo $$p | sed -e 's|^.*/||'`"; \
ladanyi@2647: echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
ladanyi@2647: $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
ladanyi@2647: done
ladanyi@2647:
ladanyi@2647: uninstall-local: doc/html
ladanyi@2647: @$(NORMAL_UNINSTALL)
ladanyi@2647: @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@2647: f="`echo $$p | sed -e 's|^.*/||'`"; \
ladanyi@2647: echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
ladanyi@2647: rm -f $(DESTDIR)$(htmldir)/$$f; \
ladanyi@2647: done
ladanyi@2647:
ladanyi@2647: .PHONY: doc doc-clean