aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/doc/Makefile.am
blob: d3911c9bf7b7f25fcd6aa9e85f3b69f4ec1473e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
appmandir = $(APP_MAN_DIR)
filemandir = $(FILE_MAN_DIR)

# 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)
appman_PRE = Xserver.man.pre
fileman_PRE =

appman_PROCESSED = $(appman_PRE:man.pre=man)
fileman_PROCESSED = $(fileman_PRE:man.pre=man)

appman_DATA = $(appman_PRE:man.pre=@APP_MAN_SUFFIX@)
fileman_DATA = $(fileman_PRE:man.pre=@FILE_MAN_SUFFIX@)

BUILT_SOURCES = $(appman_PROCESSED) $(fileman_PROCESSED)

CLEANFILES = $(appman_PROCESSED) $(appman_DATA) \
		$(fileman_PROCESSED) $(fileman_DATA)

include $(top_srcdir)/cpprules.in

.man.$(APP_MAN_SUFFIX):
	cp $< $@

.man.$(FILE_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) $(fileman_PRE)