summaryrefslogtreecommitdiff
path: root/xserver/doc/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2011-11-05 13:32:59 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2011-11-05 13:32:59 +0000
commitbf781c5ff285301ad70ffc5f4321b8906f71edd8 (patch)
tree3b770f4bf9a8cd11dd9f14e7f758991a73a52d78 /xserver/doc/Makefile.am
parente59d0622d3162f7b5a7420ef87dbebb200348c37 (diff)
Update to xserver 1.11.2
Diffstat (limited to 'xserver/doc/Makefile.am')
-rw-r--r--xserver/doc/Makefile.am31
1 files changed, 10 insertions, 21 deletions
diff --git a/xserver/doc/Makefile.am b/xserver/doc/Makefile.am
index 43606a3f6..e6974fef1 100644
--- a/xserver/doc/Makefile.am
+++ b/xserver/doc/Makefile.am
@@ -1,26 +1,15 @@
+SUBDIRS = dtrace
-# Xserver.man covers options generic to all X servers built in this tree
-# (i.e. those handled in the os/utils.c options processing instead of in
-# the DDX-level options processing)
-appmandir = $(APP_MAN_DIR)
-appman_PRE = Xserver.man.pre
+if ENABLE_DEVEL_DOCS
+if HAVE_XMLTO
-appman_PROCESSED = $(appman_PRE:man.pre=man)
-appman_DATA = $(appman_PRE:man.pre=@APP_MAN_SUFFIX@)
+# Main DocBook/XML files (DOCTYPE book)
+docbook = Xserver-spec.xml Xinput.xml
-BUILT_SOURCES = $(appman_PROCESSED)
-CLEANFILES = $(appman_PROCESSED) $(appman_DATA)
+# Generate DocBook/XML output formats with or without stylesheets
+include $(top_srcdir)/devbook.am
-include $(top_srcdir)/cpprules.in
+endif HAVE_XMLTO
+endif ENABLE_DEVEL_DOCS
-.man.$(APP_MAN_SUFFIX):
- $(AM_V_at)cp $< $@
-
-EXTRAMANDEFS = -D__default_font_path__="`echo $(COMPILEDDEFAULTFONTPATH) | $(SED) -e 's/,/, /g'`"
-
-# Docs about X server internals that we ship with source but don't install
-DEVEL_DOCS = smartsched
-
-EXTRA_DIST = $(DEVEL_DOCS) $(appman_PRE) $(fileman_PRE)
-
-SUBDIRS = xml
+EXTRA_DIST = smartsched