summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-10-03 18:13:11 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-10-03 18:13:11 +0200
commitc75a4dfa301eb5aafe519a92e48598d1e94470b0 (patch)
tree93de9eb424fe0722975450c22e046970871b3633 /maint.mk
parent1f86b82c7a33d37f85ba3bb372bd45d249bed2a3 (diff)
downloadgnutls-c75a4dfa301eb5aafe519a92e48598d1e94470b0.tar.gz
Added new gnulib.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk18
1 files changed, 11 insertions, 7 deletions
diff --git a/maint.mk b/maint.mk
index 0137df10fa..51f617bb48 100644
--- a/maint.mk
+++ b/maint.mk
@@ -1079,16 +1079,20 @@ sc_makefile_path_separator_check:
halt=$(msg) \
$(_sc_search_regexp)
-# Check that `make alpha' will not fail at the end of the process.
+# Check that `make alpha' will not fail at the end of the process,
+# i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release)
+# and is read-only.
writable-files:
- if test -d $(release_archive_dir); then :; else \
- for file in $(distdir).tar.gz \
- $(release_archive_dir)/$(distdir).tar.gz; do \
- test -e $$file || continue; \
- test -w $$file \
- || { echo ERROR: $$file is not writable; fail=1; }; \
+ if test -d $(release_archive_dir); then \
+ for file in $(DIST_ARCHIVES); do \
+ for p in ./ $(release_archive_dir)/; do \
+ test -e $$p$$file || continue; \
+ test -w $$p$$file \
+ || { echo ERROR: $$p$$file is not writable; fail=1; }; \
+ done; \
done; \
test "$$fail" && exit 1 || : ; \
+ else :; \
fi
v_etc_file = $(gnulib_dir)/lib/version-etc.c