]> git.notmuchmail.org Git - notmuch/commitdiff
build: change one more occurrence of 'version' to 'version.txt'.
authorDavid Bremner <david@tethera.net>
Sun, 8 Nov 2020 16:58:03 +0000 (12:58 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 8 Nov 2020 17:18:51 +0000 (13:18 -0400)
This one disguised via tar and sed trickery.

Makefile.local

index 631fef3cb01d747731d5534102b70d8e81eb360a..205fc9d3f510be5bab8f623ea172aad8b6923a2b 100644 (file)
@@ -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)"