parted/fix-make-install-failure.patch

42 lines
1.1 KiB
Diff

From 9654bcfbdbeb2dede3a19084d31b41224d3a03f1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 23 Dec 2008 10:20:20 +0100
Subject: [PATCH] avoid "make install" failure with latest GNU make
* 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 | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/doc/C/Makefile.am b/doc/C/Makefile.am
index 447eb74..7d62b7b 100644
--- a/doc/C/Makefile.am
+++ b/doc/C/Makefile.am
@@ -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; \
--
1.6.3