From 4682f132f2d06cb7c93b94f1cf35795116291f74 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 20 Mar 2008 18:01:35 +0100 Subject: [PATCH] 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. --- man/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man/Makefile.am b/man/Makefile.am index 9076afc..37bfd9a 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) -- 2.7.4