summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-05-14 13:30:20 -0400
committerKeith Packard <keithp@keithp.com>2011-05-14 11:22:29 -0700
commit0e7f61d72c4a929319e57c9b5b777e9413c23051 (patch)
treecabde6cfde7841296f8a0db5800c3f756ffd0d40 /doc/Makefile.am
parent96c65be39b98cfe035be0a3988dce519549249f3 (diff)
doc: use devbook.am for developers documentation
Relocate the docs under the doc subdir. Remove redundant xml subdir. The xmlrules set of makefiles are no longer used. Reviewed-by Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am16
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e8634fd80..e6974fef1 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,3 +1,15 @@
-SUBDIRS = dtrace xml
+SUBDIRS = dtrace
-dist_noinst_DATA = smartsched
+if ENABLE_DEVEL_DOCS
+if HAVE_XMLTO
+
+# Main DocBook/XML files (DOCTYPE book)
+docbook = Xserver-spec.xml Xinput.xml
+
+# Generate DocBook/XML output formats with or without stylesheets
+include $(top_srcdir)/devbook.am
+
+endif HAVE_XMLTO
+endif ENABLE_DEVEL_DOCS
+
+EXTRA_DIST = smartsched