'make doc' is now working also in case of external build.
1 htmldir = $(datadir)/doc/$(PACKAGE)/html
7 doc/icons/geom/ftv2doc.png \
8 doc/icons/geom/ftv2folderclosed.png \
9 doc/icons/geom/ftv2folderopen.png \
10 doc/coding_style.dox \
11 doc/developers_interface.dox \
14 doc/graph-adaptors.dox \
27 if test ${doxygen_found} = yes; then \
31 cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
35 if test ${doxygen_found} = yes; then \
37 rm -f doc/doxygen.log; \
41 cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
46 -rm -f doc/doxygen.log
49 $(MAKE) $(AM_MAKEFLAGS) doc-clean
53 install-data-local: doc/html
55 $(mkinstalldirs) $(DESTDIR)$(htmldir)
56 @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 \
57 f="`echo $$p | sed -e 's|^.*/||'`"; \
58 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
59 $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
62 uninstall-local: doc/html
64 @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 \
65 f="`echo $$p | sed -e 's|^.*/||'`"; \
66 echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
67 rm -f $(DESTDIR)$(htmldir)/$$f; \