2007-09-30 00:12:46 -06:00
|
|
|
libmandir = $(LIB_MAN_DIR)
|
|
|
|
|
|
|
|
libman_xml = Xcomposite.xml
|
|
|
|
|
2010-10-31 07:57:01 -06:00
|
|
|
libman_PRE = $(libman_xml:xml=man) \
|
|
|
|
$(Xcomposite_shadows:=.man)
|
2007-09-30 00:12:46 -06:00
|
|
|
|
2010-10-31 07:57:01 -06:00
|
|
|
Xcomposite_shadows = \
|
2007-09-30 00:12:46 -06:00
|
|
|
XCompositeQueryExtension \
|
|
|
|
XCompositeQueryVersion \
|
|
|
|
XCompositeVersion \
|
|
|
|
XCompositeRedirectWindow \
|
|
|
|
XCompositeRedirectSubwindows \
|
|
|
|
XCompositeUnredirectWindow \
|
|
|
|
XCompositeUnredirectSubwindows \
|
|
|
|
XCompositeCreateRegionFromBorderClip \
|
|
|
|
XCompositeNameWindowPixmap \
|
|
|
|
XCompositeGetOverlayWindow \
|
|
|
|
XCompositeReleaseOverlayWindow
|
|
|
|
|
2010-07-17 09:07:18 -06:00
|
|
|
if INSTALL_MANPAGES
|
2010-10-31 07:57:01 -06:00
|
|
|
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
|
2010-07-17 09:07:18 -06:00
|
|
|
endif
|
2007-09-30 00:12:46 -06:00
|
|
|
|
|
|
|
EXTRA_DIST = $(libman_PRE) $(libman_xml)
|
|
|
|
|
|
|
|
CLEANFILES = $(libman_DATA)
|
|
|
|
|
2010-10-31 07:57:01 -06:00
|
|
|
MAINTAINERCLEANFILES = $(libman_xml:xml=man)
|
2007-09-30 00:12:46 -06:00
|
|
|
|
|
|
|
SUFFIXES = .$(LIB_MAN_SUFFIX) .man .xml
|
|
|
|
|
2010-10-31 07:57:01 -06:00
|
|
|
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
|
|
|
|
.man.$(LIB_MAN_SUFFIX):
|
|
|
|
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
2007-09-30 00:12:46 -06:00
|
|
|
|
|
|
|
# Generate nroff sources from DocBook/xml
|
|
|
|
|
|
|
|
dist-hook: $(libman_PRE)
|
|
|
|
|
|
|
|
if HAVE_XMLTO
|
|
|
|
.xml.man:
|
2009-10-31 11:45:46 -06:00
|
|
|
$(AM_V_GEN)$(XMLTO) man $< && mv $*.__libmansuffix__ $@
|
2007-09-30 00:12:46 -06:00
|
|
|
else
|
|
|
|
.xml.man:
|
|
|
|
@echo "WARNING: configure did not find xmlto, cannot create $@ without it"
|
2012-11-11 11:54:02 -07:00
|
|
|
-cp ${srcdir}/$@ .
|
2007-09-30 00:12:46 -06:00
|
|
|
endif
|