]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
cli/dump: replace use of gzprintf with gzputs for config values
[notmuch] / Makefile.local
index 383e0cbabc8bb4b5895ef9f05238351c6c9139ca..586cdf7538690366f12d8c43585725ffaeff6c9b 100644 (file)
@@ -1,7 +1,7 @@
 # -*- makefile -*-
 
 .PHONY: all
-all: notmuch notmuch-shared build-man build-info ruby-bindings
+all: notmuch notmuch-shared build-man build-info ruby-bindings python-cffi-bindings
 ifeq ($(MAKECMDGOALS),)
 ifeq ($(shell cat .first-build-message 2>/dev/null),)
        @NOTMUCH_FIRST_BUILD=1 $(MAKE) --no-print-directory all
@@ -36,7 +36,7 @@ $(TAR_FILE):
                --transform s_^_$(PACKAGE)-$(VERSION)/_  \
                --transform 's_.tmp$$__' --mtime=@$$ct version.tmp
        rm version.tmp
-       gzip -n < $(TAR_FILE).tmp > $(TAR_FILE)
+       xz -C sha256 -9 < $(TAR_FILE).tmp > $(TAR_FILE)
        @echo "Source is ready for release in $(TAR_FILE)"
 
 $(SHA256_FILE): $(TAR_FILE)
@@ -97,14 +97,16 @@ pre-release:
 .PHONY: debian-snapshot
 debian-snapshot:
        make VERSION=$(VERSION) clean
-       TMPFILE=$$(mktemp /tmp/notmuch.XXXXXX);         \
-         cp debian/changelog $${TMPFILE};              \
-         EDITOR=/bin/true dch -b -v $(VERSION)+1       \
-           -D UNRELEASED 'test build, not for upload'; \
-         echo '3.0 (native)' > debian/source/format;   \
-         debuild -us -uc;                              \
-         mv -f $${TMPFILE} debian/changelog;           \
-         echo '3.0 (quilt)' > debian/source/format
+       RETVAL=0 &&                                             \
+         TMPFILE=$$(mktemp /tmp/notmuch.XXXXXX) &&             \
+         cp debian/changelog $${TMPFILE} &&                    \
+         (EDITOR=/bin/true dch -b -v $(VERSION)+1              \
+           -D UNRELEASED 'test build, not for upload' &&       \
+         echo '3.0 (native)' > debian/source/format &&         \
+         debuild -us -uc); RETVAL=$$?                          \
+         mv -f $${TMPFILE} debian/changelog;                   \
+         echo '3.0 (quilt)' > debian/source/format;            \
+         exit $$RETVAL
 
 .PHONY: release-message
 release-message: