summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-01-21 20:03:42 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-01-24 08:10:13 -0500
commit2002631bd71ba970d77f9b5c8f886c3bf1349e45 (patch)
tree26923dd33a4d0d3d6cd36366382ffcc849c87d4d /man
parent213cf861e8a29c6f991828beb6656239206c9947 (diff)
downloadxorg-lib-libXcomposite-2002631bd71ba970d77f9b5c8f886c3bf1349e45.tar.gz
man: allow installing prebuilt man pages from tarball
The man pages source may be supplied in the tarball or built from git. The makefile needs to take that into consideration and adjust the targets accordingly. This prevents the regular make target to fail when the source is not available and the xmlto is not available. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 13a75c5..54eb624 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -21,8 +21,10 @@ Xcomposite_man_aliases = \
Xcomposite_shadowmen = $(Xcomposite_man_aliases:=.@LIB_MAN_SUFFIX@)
+if INSTALL_MANPAGES
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
$(Xcomposite_shadowmen)
+endif
EXTRA_DIST = $(libman_PRE) $(libman_xml)