summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2015-05-04 22:22:57 -0700
committerAuke Kok <auke-jan.h.kok@intel.com>2015-05-04 22:23:31 -0700
commit20901ab7afb2f4a367b5b4954e3dc2ff08140f85 (patch)
treecc8344160e444a0fd09e065618aced4528ab7e72 /Makefile
parent0bb0aceabe6e9bad9b5635f4926ee6f9951b6319 (diff)
For easy creating of release tarbals. Once I start tagging, that is.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e897000
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7 @@
+
+PROJECT = crops
+all: release
+
+release:
+ VERSION=`git describe --tags`; \
+ git archive --format zip --output "$(PROJECT)-$${VERSION}.zip" --prefix=$(PROJECT)/ master