mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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.
This commit is contained in:
1 parent
a7c0ed0892
commit
56661fd87a
1 file changed
+2
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user