[libxml++] Move a target outside a conditional block to fix the build



commit 6efe69b836198d0ad1527079be7a3523345d2b85
Author: David King <davidk openismus com>
Date:   Mon Mar 29 15:31:11 2010 +0200

    Move a target outside a conditional block to fix the build
    
    * Makefile.am: Move docs/manual/libxml++.xml target outside the
    ENABLE_DOCUMENTATION conditional block.

 ChangeLog   |    7 +++++++
 Makefile.am |    6 +++---
 2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2784c2a..d398659 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-03-29  David King  <davidk openismus com>
 
+	Move a target outside a conditional block to fix the build
+
+	* Makefile.am: Move docs/manual/libxml++.xml target outside the
+	ENABLE_DOCUMENTATION conditional block.
+
+2010-03-29  David King  <davidk openismus com>
+
 	Use mm-common for reference documentation generation
 
 	* .gitignore: Update.
diff --git a/Makefile.am b/Makefile.am
index d72f1b1..64ba9ff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -179,6 +179,9 @@ examples_textreader_textreader_LDADD = \
 	libxml++/libxml++-$(LIBXMLXX_API_VERSION).la
 endif # ENABLE_EXAMPLES
 
+docs/manual/libxml++.xml: docs/manual/libxml++_without_code.xml docs/manual/insert_example_code.pl
+	$(AM_V_GEN)$(PERL) -- docs/manual/insert_example_code.pl examples $< >$@
+
 if ENABLE_DOCUMENTATION
 book_name = $(LIBXMLXX_MODULE_NAME)
 doc_input = $(h_sources_public)
@@ -190,9 +193,6 @@ manualdir = $(docdir)/manual
 manual_htmldir = $(manualdir)/html
 manual_html_files = $(wildcard docs/manual/html/*.html)
 
-docs/manual/libxml++.xml: docs/manual/libxml++_without_code.xml docs/manual/insert_example_code.pl
-	$(AM_V_GEN)$(PERL) -- docs/manual/insert_example_code.pl examples $< >$@
-
 docs/manual/html/index.html: docs/manual/libxml++.xml docs/manual/docbook-customisation.xsl
 	$(AM_V_at)rm -fr doc/manual/html
 	$(AM_V_at)$(MKDIR_P) docs/manual/html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]