[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-cppi] [PATCH 04/19] maint: man: use dist_man1_MANS, rather than dis
From: |
Jim Meyering |
Subject: |
[bug-cppi] [PATCH 04/19] maint: man: use dist_man1_MANS, rather than dist_man_MANS |
Date: |
Wed, 25 Jan 2012 09:22:41 +0100 |
From: Jim Meyering <address@hidden>
* man/Makefile.am: Doing that causes automake to generate
slightly better rules.
---
man/Makefile.am | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/man/Makefile.am b/man/Makefile.am
index f3713a5..053bd30 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,9 +1,9 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*-
-dist_man_MANS = cppi.1
+dist_man1_MANS = cppi.1
-man_aux = $(dist_man_MANS:.1=.x)
+man_aux = $(dist_man1_MANS:.1=.x)
EXTRA_DIST = $(man_aux)
-MAINTAINERCLEANFILES = $(man_MANS)
+MAINTAINERCLEANFILES = $(dist_man1_MANS)
# Depend on .version to get version number changes.
common_dep = $(top_srcdir)/.version
@@ -27,13 +27,12 @@ check-local: check-x-vs-1 check-programs-vs-x
ASSORT = LC_ALL=C sort
# Ensure that for each .x file in this directory, there is a
-# corresponding .1 file in the definition of $(dist_man_MANS) above.
+# corresponding .1 file in the definition of $(dist_man1_MANS) above.
.PHONY: check-x-vs-1
check-x-vs-1:
- $(AM_V_GEN)PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
- t=ls-files.$$$$; \
+ $(AM_V_GEN)t=ls-files.$$$$; \
(cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\
- echo $(dist_man_MANS) | fmt -w1 | sed 's/\.1$$//' | $(ASSORT) \
+ echo $(dist_man1_MANS) | fmt -w1 | sed 's/\.1$$//' | $(ASSORT) \
| diff - $$t || { rm $$t; exit 1; }; \
rm $$t
--
1.7.9.rc2.2.g183d6
- [bug-cppi] use mostly-non-recursive make, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 01/19] build: remove use of vestigial rm_subst, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 04/19] maint: man: use dist_man1_MANS, rather than dist_man_MANS,
Jim Meyering <=
- [bug-cppi] [PATCH 02/19] update bootstrap; don't recurse into lib/ or src/, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 08/19] maint: .gitignore: ignore/adjust a few more, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 03/19] maint: remove useless artifacts copied from coreutils, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 09/19] build: remove obsolete settings from cfg.mk, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 10/19] maint: update init.sh from gnulib, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 11/19] maint: remove redundant build output, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 05/19] build: don't recurse into man/ when building, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 07/19] build: don't recurse into tests/ when building, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 12/19] maint: use gnulib's getopt-gnu, not the deprecated getopt module, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 13/19] maint: tweak m4 quoting in AC_CONFIG_FILES, Jim Meyering, 2012/01/25