From 595460c397a543fe512becd3c432de2a0a68d187 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Thu, 28 Apr 2011 21:16:09 -0400 Subject: [PATCH] dmx/doc: use common makefile for developers documentation The user/specs docs now have external references support. Developers doc are not installed so they do not participate. However, using a similar makefile shared amongst developers document reduces maintenance and is forward looking. Reviewed-by Jeremy Huddleston Signed-off-by: Gaetan Nadon Signed-off-by: Keith Packard --- hw/dmx/doc/Makefile.am | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/hw/dmx/doc/Makefile.am b/hw/dmx/doc/Makefile.am index 53fb78498..40d0550c7 100644 --- a/hw/dmx/doc/Makefile.am +++ b/hw/dmx/doc/Makefile.am @@ -19,11 +19,16 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -doc_sources = dmx.xml scaled.xml - -# Developer's documentation is not installed if ENABLE_DEVEL_DOCS -include $(top_srcdir)/doc/xml/xmlrules-noinst.in +if HAVE_XMLTO + +# Main DocBook/XML files (DOCTYPE book) +docbook = dmx.xml scaled.xml + +# Generate DocBook/XML output formats with or without stylesheets +include $(top_srcdir)/devbook.am + +endif HAVE_XMLTO endif ENABLE_DEVEL_DOCS DOXYGEN_HEAD=\