]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Run the writable-files check only for release-building targets.
authorJim Meyering <jim@meyering.net>
Thu, 1 Mar 2007 10:02:25 +0000 (11:02 +0100)
committerJim Meyering <jim@meyering.net>
Thu, 1 Mar 2007 10:02:25 +0000 (11:02 +0100)
* Makefile.maint (local-checks-available): Remove writable-files.
(alpha beta major): Put it here, instead.

ChangeLog
Makefile.maint

index e2d953ab159bd3acb61840748996145a98424b11..0dcea044db3c3c608109a6e8ae46353d30a25ef5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-03-01  Jim Meyering  <jim@meyering.net>
 
+       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.
+
        "make syntax-check" now runs only Makefile.cfg-selected tests
        * Makefile.maint (syntax-check-rules): Hoist this definition so that
        it precedes the indirect use in the definition of $(local-check).
index 7d164c5092e16e6d3181f9d80d9d2dbf54ab9ff4..23386c28b3b3b70014a29104c0e5c4bcc63550ec 100644 (file)
@@ -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;};}\