diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-12-24 17:22:00 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-12-24 17:27:26 -0800 |
commit | bb172844a85a0d79aa7814510bfffdb168fa3bb4 (patch) | |
tree | f44e46170772f64285c03a46b7a2e3d2c1801e59 | |
parent | 0f71c53437c5fccc35de2e88c23ea5e64eaa76a5 (diff) | |
download | gnulib-bb172844a85a0d79aa7814510bfffdb168fa3bb4.tar.gz |
maint: tight-scope-mk need not be read-only
* top/maint.mk (tight-scope.mk): Don’t bother to make
tight-scope.mk read-only either.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | top/maint.mk | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,9 @@ 2021-12-24 Paul Eggert <eggert@cs.ucla.edu> + maint: tight-scope-mk need not be read-only + * top/maint.mk (tight-scope.mk): Don’t bother to make + tight-scope.mk read-only either. + maint: break out '&& mv $@-t $@' * build-aux/git-version-gen, config/argz.mk, modules/configmake: * modules/posix_spawnp-tests, modules/snippet/link-warning: diff --git a/top/maint.mk b/top/maint.mk index a61bfda134..7345d45313 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1702,9 +1702,8 @@ sc_tight_scope: tight-scope.mk exit $$fail tight-scope.mk: $(ME) - @rm -f $@ $@-t @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(srcdir)/$(ME) > $@-t - @chmod a=r $@-t && mv $@-t $@ + @mv $@-t $@ ifeq (a,b) # TS-start |