summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-11-16 21:41:38 +0100
committerJim Meyering <meyering@redhat.com>2009-11-16 22:41:02 +0100
commita401664d47f17b1c7497c2a251b073de105cdbec (patch)
treeb0b9a15fee572b41de61da4a28d0204fe72daf0f /man
parent5f93400251fb7be08fa03ef7c2dd78b4850481ba (diff)
downloaddiffutils-a401664d47f17b1c7497c2a251b073de105cdbec.tar.gz
build: let automake generate better man-installation rules
* man/Makefile.am (dist_man1_MANS): Rename from dist_man_MANS, to enable better automake-generated installation rules.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 6f03ead..8c8b407 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -15,8 +15,8 @@
# 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 = cmp.1 diff.1 diff3.1 sdiff.1
-MAINTAINERCLEANFILES = $(dist_man_MANS)
+dist_man1_MANS = cmp.1 diff.1 diff3.1 sdiff.1
+MAINTAINERCLEANFILES = $(dist_man1_MANS)
S = $(top_srcdir)/src
cmp.1: $S/cmp.c
@@ -25,7 +25,7 @@ diff3.1: $S/diff3.c
sdiff.1: $S/sdiff.c
# Depend on configure.ac to get version number changes.
-$(dist_man_MANS): $(top_srcdir)/configure.ac
+$(dist_man1_MANS): $(top_srcdir)/configure.ac
base=`expr $@ : '\(.*\).1'` && \
(echo '[NAME]' && sed 's@/\* *@@; s/-/\\-/; q' $S/$$base.c) | \
$(HELP2MAN) -i - -S '$(PACKAGE) $(VERSION)' ../src/$$base | \