summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-03-01 11:02:25 +0100
committerJim Meyering <jim@meyering.net>2007-03-01 11:02:25 +0100
commit7daf29845bbad04190d6130ff2f4c5c6827c5646 (patch)
treed6a027681a1dbd4fb1053d0937596d5f5d1d7dc7 /Makefile.maint
parent5703f662b72f03b8a88bfc5cc5ee084988a88ce1 (diff)
downloadcoreutils-7daf29845bbad04190d6130ff2f4c5c6827c5646.tar.xz
Run the writable-files check only for release-building targets.
* Makefile.maint (local-checks-available): Remove writable-files. (alpha beta major): Put it here, instead.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 7d164c509..23386c28b 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -77,7 +77,7 @@ syntax-check-rules := $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(ME))
# Run `changelog-check' last, as previous test may reveal problems requiring
# new ChangeLog entries.
local-checks-available = \
- po-check copyright-check writable-files m4-check author_mark_check \
+ po-check copyright-check m4-check author_mark_check \
changelog-check patch-check strftime-check $(syntax-check-rules) \
makefile_path_separator_check \
makefile-check check-AUTHORS
@@ -604,7 +604,7 @@ $(xd-delta): $(release_archive_dir)/$(prev-tgz) $(distdir).tar.gz
xdelta delta -9 $^ $@ || :
.PHONY: alpha beta major
-alpha beta major: news-date-check changelog-check $(local-check)
+alpha beta major: news-date-check changelog-check $(local-check) writable-files
test $@ = major \
&& { echo $(VERSION) | grep -E '^[0-9]+(\.[0-9]+)+$$' \
|| { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\