diff options
| author | David Bremner <david@tethera.net> | 2020-11-08 12:58:03 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-11-08 13:18:51 -0400 |
| commit | d824f83c6f2e528088ab3ee6e81901db7143a31c (patch) | |
| tree | 242ff1c2c986d88ca41e84d2afef78b1560a06bf /Makefile.local | |
| parent | c5504cb04398eeeb595cfebe84714ba982ef00e6 (diff) | |
build: change one more occurrence of 'version' to 'version.txt'.
This one disguised via tar and sed trickery.
Diffstat (limited to 'Makefile.local')
| -rw-r--r-- | Makefile.local | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.local b/Makefile.local index 631fef3c..205fc9d3 100644 --- a/Makefile.local +++ b/Makefile.local @@ -30,12 +30,12 @@ $(TAR_FILE): echo "Warning: No signed tag for $(VERSION)"; \ fi ; \ git archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ $$ref > $(TAR_FILE).tmp - echo $(VERSION) > version.tmp + echo $(VERSION) > version.txt.tmp ct=`git --no-pager log -1 --pretty=format:%ct $$ref` ; \ tar --owner root --group root --append -f $(TAR_FILE).tmp \ --transform s_^_$(PACKAGE)-$(VERSION)/_ \ - --transform 's_.tmp$$__' --mtime=@$$ct version.tmp - rm version.tmp + --transform 's_.tmp$$__' --mtime=@$$ct version.txt.tmp + rm version.txt.tmp xz -C sha256 -9 < $(TAR_FILE).tmp > $(TAR_FILE) @echo "Source is ready for release in $(TAR_FILE)" |
