projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4235ef5
)
Makefile: Add a dist target.
author
Carl Worth
<cworth@cworth.org>
Mon, 5 Apr 2010 21:22:00 +0000
(14:22 -0700)
committer
Carl Worth
<cworth@cworth.org>
Mon, 5 Apr 2010 21:22:00 +0000
(14:22 -0700)
To create a versioned tar file for release.
Makefile.local
patch
|
blob
|
history
diff --git
a/Makefile.local
b/Makefile.local
index d38c6733e08a0ea914e1814592a2d7d9ac9f2d3b..f9fca0fa26680a18b1c846383ae9581af2ebed8d 100644
(file)
--- a/
Makefile.local
+++ b/
Makefile.local
@@
-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),)