EXTRA_DIST = Doxyfile.in gmp.dox
if WANT_INSTALL_REFMAN
CLEANFILES = doxygen.log html/*
DISTCLEANFILES = libstdc++.tag
# do we have an libstdc++.tag file? -> get it...
libstdc++.tag: Doxyfile
touch libstdc++.tag
html/index.html: Doxyfile libstdc++.tag
@doxygen@
# directory, where the reference manual gets installed
htmldocdir = $(datadir)/qsieve/doc/html
htmldoc_DATA = html/index.html
install-data-hook:
rm -f html/*.md5
@INSTALL@ -d $(DESTDIR)$(htmldocdir)
cd html && (for i in *; do @INSTALL_DATA@ $$i $(DESTDIR)$(htmldocdir); done)
uninstall-hook:
rm -rf $(DESTDIR)$(htmldocdir)
endif