diff options
author | Rob Taylor <rob.taylor@codethink.co.uk> | 2007-09-04 14:46:48 +0100 |
---|---|---|
committer | Rob Taylor <rob.taylor@codethink.co.uk> | 2007-09-04 14:46:48 +0100 |
commit | 437a86a4b18a2be033225432fd099bcb7f0c3114 (patch) | |
tree | 8dc6f4b16911270a36ac4cec5151ac88bf5667b7 | |
parent | b5f76d26d2e94f9279b03b56aaf20038cd853cdd (diff) |
don't try to distribute index.html if we can't build it.
Makes dist and install of index.html dependant on docbook-doc being enabled.
-rw-r--r-- | docs/Makefile.am | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index c3d3800..0b6cca2 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -21,15 +21,6 @@ SPEC_XML_FILES = \ SPEC_HTML_FILES = \ index.html -htmldocdir = $(docdir) -htmldoc_DATA = index.html - -if DOCBOOK_DOCS_ENABLED - -index.html : introduction.xml - $(XMLTO) html-nochunks -m config.xsl index.xml -endif # DOCBOOK_DOCS_ENABLED - clean-local: rm -f *~ rm -f *.html @@ -39,5 +30,16 @@ EXTRA_DIST = \ config.xsl \ docbook.css \ $(SPEC_XML_FILES) \ - $(IMAGE_FILES) \ - $(SPEC_HTML_FILES) + $(IMAGE_FILES) + +if DOCBOOK_DOCS_ENABLED + +htmldocdir = $(docdir) +htmldoc_DATA = index.html + +index.html : introduction.xml + $(XMLTO) html-nochunks -m config.xsl index.xml + +EXTRA_DIST += $(SPEC_HTML_FILES) + +endif #DOCBOOK_DOCS_ENABLED |