1 libmandir = $(LIB_MAN_DIR)
3 libman_xml = Xcomposite.xml
5 libman_PRE = $(libman_xml:xml=man) \
6 $(Xcomposite_shadows:=.man)
9 XCompositeQueryExtension \
10 XCompositeQueryVersion \
12 XCompositeRedirectWindow \
13 XCompositeRedirectSubwindows \
14 XCompositeUnredirectWindow \
15 XCompositeUnredirectSubwindows \
16 XCompositeCreateRegionFromBorderClip \
17 XCompositeNameWindowPixmap \
18 XCompositeGetOverlayWindow \
19 XCompositeReleaseOverlayWindow
22 libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
25 EXTRA_DIST = $(libman_PRE) $(libman_xml)
27 CLEANFILES = $(libman_DATA)
29 MAINTAINERCLEANFILES = $(libman_xml:xml=man)
31 SUFFIXES = .$(LIB_MAN_SUFFIX) .man .xml
33 # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
34 .man.$(LIB_MAN_SUFFIX):
35 $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
37 # Generate nroff sources from DocBook/xml
39 dist-hook: $(libman_PRE)
43 $(AM_V_GEN)$(XMLTO) man $< && mv $*.__libmansuffix__ $@
46 @echo "WARNING: configure did not find xmlto, cannot create $@ without it"