Install xml versions of specs even if HAVE_XMLTO is false
authorGaetan Nadon <memsize@videotron.ca>
Fri, 17 Jun 2011 00:12:03 +0000 (20:12 -0400)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 19 Jun 2011 22:41:52 +0000 (08:41 +1000)
DocBook/XML input source is also a useful output format that can be viewed
with an XML viewer or editor and by some O/S help system.

Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
doc/dtrace/Makefile.am
docbook.am

index aaf5a12..df26d2b 100644 (file)
@@ -1,6 +1,5 @@
 
 if ENABLE_DOCS
-if HAVE_XMLTO
 if XSERVER_DTRACE
 
 # Main DocBook/XML files (DOCTYPE book)
@@ -13,5 +12,4 @@ shelfdir = $(docdir)
 include $(top_srcdir)/docbook.am
 
 endif XSERVER_DTRACE
-endif HAVE_XMLTO
 endif ENABLE_DOCS
index 3af09f3..f1861c0 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
 #
@@ -92,5 +93,6 @@ XSLTPROC_FLAGS =                                      \
 
 endif HAVE_XSLTPROC
 endif HAVE_STYLESHEETS
+endif HAVE_XMLTO
 
 CLEANFILES = $(shelf_DATA)