]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Kludge to make automake generate install-man rules
authorJim Meyering <meyering@redhat.com>
Thu, 20 Mar 2008 17:01:35 +0000 (18:01 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 20 Mar 2008 17:01:35 +0000 (18:01 +0100)
* 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

index 9076afcb0c73573f3ca172fdebc50b4b2af581e1..37bfd9a2a57ef5c462b936d0dc04b6e4bf40247b 100644 (file)
@@ -15,7 +15,9 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-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)