summaryrefslogtreecommitdiff
path: root/xserver/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/doc/Makefile.am')
-rw-r--r--xserver/doc/Makefile.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/xserver/doc/Makefile.am b/xserver/doc/Makefile.am
new file mode 100644
index 000000000..0ac533e18
--- /dev/null
+++ b/xserver/doc/Makefile.am
@@ -0,0 +1,25 @@
+appmandir = $(APP_MAN_DIR)
+
+# Xserver.man covers options generic to all X servers built in this tree
+appman_PRE = Xserver.man.pre
+
+appman_PROCESSED = $(appman_PRE:man.pre=man)
+
+appman_DATA = $(appman_PRE:man.pre=@APP_MAN_SUFFIX@)
+
+BUILT_SOURCES = $(appman_PROCESSED)
+
+CLEANFILES = $(appman_PROCESSED) $(appman_DATA)
+
+include $(top_srcdir)/cpprules.in
+
+.man.$(APP_MAN_SUFFIX):
+ 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)