From 2002631bd71ba970d77f9b5c8f886c3bf1349e45 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Thu, 21 Jan 2010 20:03:42 -0500 Subject: 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 --- man/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'man') 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) -- cgit v1.2.1