ladanyi@1: htmldir = $(datadir)/doc/$(PACKAGE)/html
ladanyi@1:
ladanyi@1: EXTRA_DIST += \
ladanyi@1: doc/Makefile \
ladanyi@1: doc/Doxyfile.in
ladanyi@1:
ladanyi@1: doc:
ladanyi@1: if test ${doxygen_found} = yes; then \
ladanyi@1: cd doc; \
ladanyi@1: doxygen Doxyfile; \
ladanyi@1: cd ..; \
ladanyi@1: fi
ladanyi@1:
ladanyi@1: doc-clean:
ladanyi@1: if test ${doxygen_found} = yes; then \
ladanyi@1: rm -rf doc/html; \
ladanyi@1: rm -f doc/doxygen.log; \
ladanyi@1: cd doc; \
ladanyi@1: doxygen Doxyfile; \
ladanyi@1: cd ..; \
ladanyi@1: fi
ladanyi@1:
ladanyi@1: clean-local:
ladanyi@1: -rm -rf doc/html
ladanyi@1: -rm -f doc/doxygen.log
ladanyi@1:
ladanyi@1: doc/html:
ladanyi@1: $(MAKE) $(AM_MAKEFLAGS) doc-clean
ladanyi@1:
alpar@56: update-external-tags:
alpar@56: wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
alpar@56: mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
alpar@56: rm doc/libstdc++.tag.tmp
alpar@56:
ladanyi@1: if WANT_DOC
ladanyi@1:
ladanyi@1: install-data-local: doc/html
ladanyi@1: @$(NORMAL_INSTALL)
ladanyi@1: $(mkinstalldirs) $(DESTDIR)$(htmldir)
ladanyi@1: @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@1: f="`echo $$p | sed -e 's|^.*/||'`"; \
ladanyi@1: echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
ladanyi@1: $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
ladanyi@1: done
ladanyi@1:
ladanyi@1: uninstall-local: doc/html
ladanyi@1: @$(NORMAL_UNINSTALL)
ladanyi@1: @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@1: f="`echo $$p | sed -e 's|^.*/||'`"; \
ladanyi@1: echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
ladanyi@1: rm -f $(DESTDIR)$(htmldir)/$$f; \
ladanyi@1: done
ladanyi@1:
ladanyi@1: endif WANT_DOC
ladanyi@1:
ladanyi@1: .PHONY: doc doc-clean