From: Philippe Proulx Date: Sat, 2 Apr 2016 02:15:53 +0000 (-0400) Subject: Fix: standardize man pages building/installing X-Git-Tag: v2.9.0-rc1~266 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=a3eae3c98f047a8e795a01471adf8f4f7563947b;hp=a3eae3c98f047a8e795a01471adf8f4f7563947b;p=lttng-tools.git Fix: standardize man pages building/installing This patch makes the build system act as follows: if --enable-man-pages: if in Git repo: require asciidoc/xmlto (configure) build man pages (make, make clean) install man pages (make install) distribute man pages (make dist) else: if asciidoc/xmlto both exist: build man pages (make, make clean) install man pages (make install) distribute man pages (make dist) else: warn that asciidoc/xmlto are missing (configure) create "error" man page targets in Makefile (make) do not clean man pages (make clean not available) install distributed man pages (make install) distribute distributed man pages (make dist) else if --disable-man-pages: do not build man pages (make, make clean not available) do not install man pages (make install not available) do not distribute man pages (make dist not available) Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau ---