blob: cbed2ebd1dd3c37f3729bb5fbbcb8aec4a95aa2f (
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
36
37
38
39
40
41
42
43
44
45
46
47
|
libmandir = $(LIB_MAN_DIR)
libman_xml = Xcomposite.xml
libman_PRE = $(libman_xml:xml=man) \
$(Xcomposite_shadows:=.man)
Xcomposite_shadows = \
XCompositeQueryExtension \
XCompositeQueryVersion \
XCompositeVersion \
XCompositeRedirectWindow \
XCompositeRedirectSubwindows \
XCompositeUnredirectWindow \
XCompositeUnredirectSubwindows \
XCompositeCreateRegionFromBorderClip \
XCompositeNameWindowPixmap \
XCompositeGetOverlayWindow \
XCompositeReleaseOverlayWindow
if INSTALL_MANPAGES
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
endif
EXTRA_DIST = $(libman_PRE) $(libman_xml)
CLEANFILES = $(libman_DATA)
MAINTAINERCLEANFILES = $(libman_xml:xml=man)
SUFFIXES = .$(LIB_MAN_SUFFIX) .man .xml
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
.man.$(LIB_MAN_SUFFIX):
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
# Generate nroff sources from DocBook/xml
dist-hook: $(libman_PRE)
if HAVE_XMLTO
.xml.man:
$(AM_V_GEN)$(XMLTO) man $< && mv $*.__libmansuffix__ $@
else
.xml.man:
@echo "WARNING: configure did not find xmlto, cannot create $@ without it"
endif
|