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:
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