[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-cppi] [PATCH 03/19] maint: remove useless artifacts copied from cor
From: |
Jim Meyering |
Subject: |
[bug-cppi] [PATCH 03/19] maint: remove useless artifacts copied from coreutils |
Date: |
Wed, 25 Jan 2012 09:22:40 +0100 |
From: Jim Meyering <address@hidden>
There is no need to handle special cases like "install" and "[".
* man/Makefile.am (mapped_name): Remove unused cruft.
(programs, check-program-vs-x): Likewise.
---
man/Makefile.am | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/man/Makefile.am b/man/Makefile.am
index 5b170d3..f3713a5 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -12,14 +12,6 @@ cppi.1: $(common_dep) $(srcdir)/cppi.x
../src/cppi.c
SUFFIXES = .x .1
-# Ensure that help2man runs the ../src/ginstall binary as
-# `install' when creating install.1.
-# Similarly, ensure that it uses the ../src/[ binary to create test.1.
-t = $*.td
-mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
-
-# That is necessary to avoid failures for programs that are also shell built-in
-# functions like echo, false, printf, pwd.
.x.1:
$(AM_V_GEN)echo "Updating man page $@"; \
PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
@@ -48,12 +40,11 @@ check-x-vs-1:
programs = \
echo 'spy:;@echo $$(all_programs)' \
| MAKEFLAGS= $(MAKE) -s -C .. -f Makefile -f - spy \
- | fmt -1 | $(ASSORT) -u | grep -v '\['
+ | fmt -1 | $(ASSORT) -u
.PHONY: check-programs-vs-x
check-programs-vs-x:
$(AM_V_GEN)for p in `$(programs)`; do \
- test $$p = ginstall && p=install || : ; \
test -f $(srcdir)/$$p.x \
|| { echo missing $$p.x 1>&2; missing=1; }; \
done; \
--
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, 2012/01/25
- [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 <=
- [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
- [bug-cppi] [PATCH 06/19] tests: add the help-version test, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 14/19] build: part two of using subdir-objects: handle e.g., GETOPT_H, Jim Meyering, 2012/01/25
- [bug-cppi] [PATCH 17/19] version 1.16, Jim Meyering, 2012/01/25