--- Makefile.am.orig 2023-11-06 14:19:31 UTC +++ Makefile.am @@ -21,29 +21,4 @@ EXTRA_DIST = git-version-gen .version EXTRA_DIST = git-version-gen .version -if HAVE_DOXYGEN - -pkgdocdir=$(docdir)/$(PACKAGE)-$(VERSION) -doc_htmldir=$(pkgdocdir)/html - -doc_html_DATA = $(top_builddir)/doc/html.tar - -$(doc_html_DATA): $(top_builddir)/doc/html/index.html - cd $(top_builddir)/doc && tar cf html.tar html - -$(top_builddir)/doc/html/index.html: $(SOURCES) Doxyfile - @rm -rf doc - mkdir -p doc - $(DOXYGEN) Doxyfile - -install-data-hook: - cd $(DESTDIR)$(doc_htmldir) && tar xf html.tar --strip-components 1 && rm -f html.tar - -uninstall-hook: - rm -rf $(DESTDIR)/$(doc_htmldir) - -DX_CLEAN = doc/{html,latex}/* doc/html.tar - -endif - MOSTLYCLEANFILES = $(DX_CLEAN)