Install xml versions of specs even if HAVE_XMLTO is false
authorGaetan Nadon <memsize@videotron.ca>
Sun, 12 Jun 2011 22:39:46 +0000 (18:39 -0400)
committerGaetan Nadon <memsize@videotron.ca>
Mon, 13 Jun 2011 00:23:28 +0000 (20:23 -0400)
DocBook/XML input source is also a usefull output format that can be viewed
with an XML viewer or editor and by some O/S help system.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
docbook.am
specs/Makefile.am

index 5864c9e..2ffb7e6 100644 (file)
@@ -20,6 +20,7 @@ shelf_DATA =
 # DocBook/XML file with chapters, appendix and images it includes
 dist_shelf_DATA = $(docbook) $(chapters)
 
+if HAVE_XMLTO
 #
 # Generate DocBook/XML output formats with or without stylesheets
 #
@@ -91,5 +92,6 @@ XSLTPROC_FLAGS =                                      \
 
 endif HAVE_XSLTPROC
 endif HAVE_STYLESHEETS
+endif HAVE_XMLTO
 
 CLEANFILES = $(shelf_DATA)
index eb4c2f0..f35ef69 100644 (file)
@@ -1,6 +1,5 @@
 
 if ENABLE_SPECS
-if HAVE_XMLTO
 
 # Main DocBook/XML files (DOCTYPE book)
 docbook = xtestlib.xml recordlib.xml
@@ -11,5 +10,4 @@ shelfdir = $(docdir)
 # Generate DocBook/XML output formats with or without stylesheets
 include $(top_srcdir)/docbook.am
 
-endif HAVE_XMLTO
 endif ENABLE_SPECS