[PATCH xserver 2/9] dmx/doc: use common makefile for developers documentation
Gaetan Nadon
memsize at videotron.ca
Thu Apr 28 18:16:09 PDT 2011
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 <jeremyhu at apple.com>
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
hw/dmx/doc/Makefile.am | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/hw/dmx/doc/Makefile.am b/hw/dmx/doc/Makefile.am
index 53fb784..40d0550 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=\
--
1.6.0.4
More information about the xorg-devel
mailing list