X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=Makefile.local;h=df95f5fcdbf0a802fb5f437b9abf27f6a5d9518d;hb=963ccabe93b0564e6979433f5be34395e9aa8ef1;hp=9d9c52c26d9e85d7eac1420b0002e9b6dd9e1872;hpb=43668950626f347f05aad7d49cd9ea4383030443;p=notmuch diff --git a/Makefile.local b/Makefile.local index 9d9c52c2..df95f5fc 100644 --- a/Makefile.local +++ b/Makefile.local @@ -31,11 +31,12 @@ $(TAR_FILE): fi ; \ git archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ $$ref > $(TAR_FILE).tmp echo $(VERSION) > version.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$$__' version.tmp + --transform 's_.tmp$$__' --mtime=@$$ct version.tmp rm version.tmp - gzip < $(TAR_FILE).tmp > $(TAR_FILE) + gzip -n < $(TAR_FILE).tmp > $(TAR_FILE) @echo "Source is ready for release in $(TAR_FILE)" $(SHA256_FILE): $(TAR_FILE) @@ -175,7 +176,7 @@ verify-newer: echo "Refusing to replace an existing release."; \ echo "Don't forget to update \"version\" as described in RELEASING before release." ; \ false ;; \ - *) echo "An unexpected error occured"; \ + *) echo "An unexpected error occurred"; \ false;; esac # The user has not set any verbosity, default to quiet mode and inform the @@ -246,7 +247,6 @@ notmuch_client_srcs = \ sprinter-text.c \ query-string.c \ mime-node.c \ - crypto.c \ tag-util.c notmuch_client_modules = $(notmuch_client_srcs:.c=.o)