OSDN Git Service

avoid "make install" failure with latest GNU make
authorJim Meyering <meyering@redhat.com>
Tue, 23 Dec 2008 09:20:20 +0000 (10:20 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 23 Dec 2008 10:00:59 +0000 (11:00 +0100)
* doc/C/Makefile.am (dist_man8_MANS): Use per-section variable
names, as recommended by automake.
(man_MANS): Remove redundant definition.

doc/C/Makefile.am

index 447eb74..7d62b7b 100644 (file)
@@ -1,11 +1,9 @@
 ## Process this file with automake to produce Makefile.in
 
-dist_man_MANS = \
+dist_man8_MANS = \
        parted.8 \
        partprobe.8
 
-man_MANS = $(dist_man_MANS)
-
 .PHONY: updatepo
 # Update the POT in srcdir
 # Make sure the update does not only consist in a new POT-Creation-Date
@@ -13,7 +11,7 @@ man_MANS = $(dist_man_MANS)
 updatepo:
        cd $(srcdir); \
        test -w . || exit 0; \
-       for name in $(dist_man_MANS); do \
+       for name in $(dist_man8_MANS); do \
                echo $$name; \
                cp po/$$name.pot po/$$name.new.pot; \
                po4a-updatepo -f man -m $$name -p po/$$name.new.pot; \