diff options
author | Jim Meyering <meyering@redhat.com> | 2009-04-15 20:18:24 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-04-15 20:18:24 +0200 |
commit | a46c077467e8b9eac3b875ac0ebab8ff9e713d24 (patch) | |
tree | 7d766ab47fe8b57a3e5c530befe2b7b0f1d0b5ed /maint.mk | |
parent | 4404198c12b5d378ed03cbc1547f87011b4d3fb2 (diff) | |
download | coreutils-a46c077467e8b9eac3b875ac0ebab8ff9e713d24.tar.xz |
maint: clean up skipped syntax-check rules
* cfg.mk (local-checks-to-skip): Remove patch-check and changelog-check.
* maint.mk (patch-check): Remove rule.
(local-checks-available): Remove patch-check.
(changelog-check): Remove rule.
Diffstat (limited to 'maint.mk')
-rw-r--r-- | maint.mk | 38 |
1 files changed, 1 insertions, 37 deletions
@@ -72,7 +72,7 @@ syntax-check-rules := $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' \ .PHONY: $(syntax-check-rules) local-checks-available = \ - patch-check $(syntax-check-rules) \ + $(syntax-check-rules) \ makefile-check check-AUTHORS .PHONY: $(local-checks-available) @@ -483,33 +483,6 @@ update-NEWS-hash: NEWS perl -pi -e 's/^(old_NEWS_hash = ).*/$${1}'"$(NEWS_hash)/" \ $(srcdir)/cfg.mk -epoch_date = 1970-01-01 00:00:00.000000000 +0000 -ALL_RECURSIVE_TARGETS += patch-check -# Ensure that the c99-to-c89 patch applies cleanly. -patch-check: - rm -rf src-c89 $@.1 $@.2 - cp -a $(srcdir)/src src-c89 - if test "x$(srcdir)" != x.; then \ - cp -a src/* src-c89; \ - dotfiles=`ls src/.[!.]* 2>/dev/null`; \ - test -z "$$dotfiles" || cp -a src/.[!.]* src-c89; \ - fi - (cd src-c89; patch -p1 -V never --fuzz=0) < $(srcdir)/src/c99-to-c89.diff \ - > $@.1 2>&1 - if test "$(REGEN_PATCH)" = yes; then \ - diff -upr $(srcdir)/src src-c89 | sed 's,$(srcdir)/src-c89/,src/,' \ - | grep -vE '^(Only in|File )' \ - | perl -pe 's/^((?:\+\+\+|---) \S+\t).*/$${1}$(epoch_date)/;' \ - -e 's/^ $$//' \ - > new-diff || : ; fi - grep -v '^patching file ' $@.1 > $@.2 || : - msg=ok; test -s $@.2 && msg='fuzzy patch' || : ; \ - rm -f src-c89/*.o || msg='rm failed'; \ - $(MAKE) -C src-c89 CFLAGS='-Wdeclaration-after-statement -Werror' \ - || msg='compile failure with extra options'; \ - test "$$msg" = ok && rm -rf src-c89 $@.1 $@.2 || echo "$$msg" 1>&2; \ - test "$$msg" = ok - ALL_RECURSIVE_TARGETS += check-AUTHORS check-AUTHORS: $(MAKE) -C src $@ @@ -535,15 +508,6 @@ news-date-check: NEWS exit 1; \ fi -changelog-check: - if head ChangeLog | grep 'Version $(VERSION_REGEXP)\.$$' \ - >/dev/null; then \ - :; \ - else \ - echo "$(VERSION) not in ChangeLog" 1>&2; \ - exit 1; \ - fi - sc_makefile_TAB_only_indentation: @grep -nE '^ [ ]{8}' \ $$($(VC_LIST_EXCEPT) | grep -E 'akefile|\.mk$$') \ |