mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-09 18:21:42 +01:00
Makefile: Add a dist target.
To create a versioned tar file for release.
This commit is contained in:
parent
4235ef5109
commit
04e816416f
1 changed files with 5 additions and 0 deletions
|
@ -53,6 +53,11 @@ ifeq ($(shell cat .first-build-message),)
|
|||
endif
|
||||
endif
|
||||
|
||||
.PHONY: dist
|
||||
dist:
|
||||
git archive --format=tar --prefix=notmuch-$(NOTMUCH_VERSION)/ HEAD | gzip > notmuch-$(NOTMUCH_VERSION).tar.gz
|
||||
@echo "Source is ready for release in notmuch-$(NOTMUCH_VERSION).tar.gz"
|
||||
|
||||
# The user has not set any verbosity, default to quiet mode and inform the
|
||||
# user how to enable verbose compiles.
|
||||
ifeq ($(V),)
|
||||
|
|
Loading…
Reference in a new issue