summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-08-31 12:08:49 +0200
committerJim Meyering <meyering@redhat.com>2012-08-31 12:08:49 +0200
commit56661fd87ad1bede1bb84cf3d36d410edd327301 (patch)
treea7f2c9ae3c498c687f44e491ea39c029fb5b375e /cfg.mk
parenta7c0ed0892c472972c1f37277e4a5d63dfb97e86 (diff)
downloadcoreutils-56661fd87ad1bede1bb84cf3d36d410edd327301.tar.xz
build: reenable just-moved/broken syntax-check rule
* cfg.mk (sc_option_desc_uppercase): Now that this rule lives in cfg.mk, we must search man/*.1, not "*.1". Reported by Bernhard Voelker.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/cfg.mk b/cfg.mk
index 44a43f844..c945ea6d7 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -173,9 +173,8 @@ sc_long_lines:
ALL_RECURSIVE_TARGETS += sc_option_desc_uppercase
.PHONY: sc_option_desc_uppercase
sc_option_desc_uppercase:
- @grep '^\\fB\\-' -A1 *.1 | LC_ALL=C grep '\.1.[A-Z][a-z]' && \
- { echo 1>&2 '$@: found initial capitals in --help'; \
- exit 1; } || :;
+ @grep '^\\fB\\-' -A1 man/*.1 | LC_ALL=C grep '\.1.[A-Z][a-z]' \
+ && { echo 1>&2 '$@: found initial capitals in --help'; exit 1; } || :
sc_option_desc_uppercase: $(dist_man1_MANS) \
$(patsubst %,man/%.1,$(NO_INSTALL_PROGS_DEFAULT)) \
all_programs