build: include man-pages for non-default progs
authorMike Frysinger <vapier@gentoo.org>
Thu, 20 Oct 2011 04:54:13 +0000 (00:54 -0400)
committerPádraig Brady <P@draigBrady.com>
Thu, 20 Oct 2011 15:05:32 +0000 (16:05 +0100)
At the moment, things like man/arch.1 are not included in the tarball.
This makes perl a requirement if you want to build/install the arch
helper.

* man/Makefile.am (EXTRA_DIST): Add $(NO_INSTALL_PROGS_DEFAULT:%=%.1).

man/Makefile.am

index cb4408c..8733a35 100644 (file)
@@ -19,7 +19,8 @@ dist_man1_MANS = $(MAN)
 
 man_aux = $(dist_man1_MANS:.1=.x)
 
-EXTRA_DIST = $(man_aux) $(NO_INSTALL_PROGS_DEFAULT:%=%.x) help2man
+EXTRA_DIST = $(man_aux) $(NO_INSTALL_PROGS_DEFAULT:%=%.x) help2man \
+       $(NO_INSTALL_PROGS_DEFAULT:%=%.1)
 MAINTAINERCLEANFILES = $(dist_man1_MANS)
 
 # Depend on ../.version to get version number changes.