From 9cd13590a7c9c17bf33778817949f45f9287a01e Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 4 Sep 2006 21:07:31 +0000 Subject: Include the built docs in the tarball --- docs/Makefile.am | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'docs/Makefile.am') diff --git a/docs/Makefile.am b/docs/Makefile.am index b56dbd4f..0d61cd52 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -286,8 +286,7 @@ XMLFILES = \ reference/pygtk-unixprint-constants.xml \ reference/pygtk-unixprint-functions.xml -HTMLdir = $(datadir)/gtk-doc/html/pygtk -HTML_DATA = \ +HTMLFILES = \ html/atk-class-reference.html \ html/atk-constants.html \ html/class-atkaction.html \ @@ -570,20 +569,27 @@ HTML_DATA = \ html/unixprint-constants.html \ html/unixprint-functions.html + +if ENABLE_DOCS +BUILT_HTML_FILES = $(HTMLFILES) +else +BUILT_HTML_FILES = +endif + CSS_FILES = $(PYGOBJECT_PYGDOCS)/style.css + CSSdir = $(HTMLdir) CSS_DATA = $(CSS_FILES) -BUILT_SOURCES = \ - reference/builddate.xml \ - $(HTML_DATA) +HTMLdir = $(datadir)/gtk-doc/html/pygtk +HTML_DATA = $(HTMLFILES) + +BUILT_SOURCES = reference/builddate.xml $(BUILT_HTML_DATA) -CLEANFILES = \ - reference/builddate.xml \ - $(HTML_DATA) +CLEANFILES = reference/builddate.xml $(BUILT_HTML_DATA) EXTRA_DIST = \ - $(HTML_DATA) \ + $(HTMLFILES) \ $(XMLFILES) \ $(XSLFILES) \ $(FIX_XREF) -- cgit v1.2.1