All pastes #616171 Raw Edit

cairomm distcheck fix

public text v1 · immutable
·published 2007-07-12 14:24 UTC
rendered paste body
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 7155577..59c27e0 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -5,8 +5,7 @@ WEB_SERVER_PATH = /srv/cairo.freedesktop.org/www/documentation/cairomm/reference
 HTML_TEMPLATE_FILES = cairomm.css cairomm-header.html

 EXTRA_DIST = $(DOXYGEN_CONFIGFILE_SOURCE) \
-                        $(HTML_TEMPLATE_FILES) cairomm_doxygen_tags \
-                        html
+                        $(HTML_TEMPLATE_FILES) cairomm_doxygen_tags

 cairomm_doxygen_tags : $(index_html)

@@ -58,6 +57,10 @@ uninstall-local: uninstall-reference
 all-local: $(index_html)

 maintainer-clean-local: doc-clean
+distclean-local: doc-clean
+
+dist-hook: $(index_html)
+       cp -R html $(distdir)

 DISTCLEANFILES = $(DOXYGEN_CONFIGFILE) $(DOXYGEN_REPORTS)