From: Jim Meyering Date: Thu, 20 Mar 2008 17:01:35 +0000 (+0100) Subject: Kludge to make automake generate install-man rules X-Git-Tag: v6.11~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4682f132f2d06cb7c93b94f1cf35795116291f74;p=thirdparty%2Fcoreutils.git Kludge to make automake generate install-man rules * man/Makefile.am (dist_man_MANS): Add a literal, rm.1. Without this, "make install" would not install man pages. However, with this kludge, the rm.1 man page is installed even when you configure with --enable-no-install-program=rm. --- diff --git a/man/Makefile.am b/man/Makefile.am index 9076afcb0c..37bfd9a2a5 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -15,7 +15,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -dist_man_MANS = $(MAN) +# We must include at least one literal name here, so that +# automake-1.10.1 emits the required install-man* rules. +dist_man_MANS = rm.1 $(MAN) man_aux = $(dist_man_MANS:.1=.x)