Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a "dist" make target.

Change-Id: If39ba8b1aa34def97ace0daec7e65ef962b5db5f
Reviewed-on: http://review.couchbase.org/8217
Tested-by: Dustin Sallings <dustin@spy.net>
Reviewed-by: Steve Yen <steve.yen@gmail.com>
  • Loading branch information...
commit 5f429c1c82ae14c6899c463b887d7d74869e3cec 1 parent e2ff445
@dustin dustin authored steveyen committed
Showing with 9 additions and 1 deletion.
  1. +2 −0  .gitignore
  2. +7 −1 Makefile
View
2  .gitignore
@@ -1,4 +1,6 @@
*.beam
+*.tar.gz
*~
coverage
erl_crash.dump
+tmp
View
8 Makefile
@@ -1,4 +1,5 @@
COUCH_SRC=../couchdb/src/couchdb
+VERSION=$(shell git describe)
all: ebin compile
@@ -6,7 +7,12 @@ ebin:
mkdir -p ebin
clean:
- rm -rf ebin
+ rm -rf ebin *.tar.gz
compile:
erl -pa build -noinput +B -eval 'case make:all([{i, "'${COUCH_SRC}'"}]) of up_to_date -> halt(0); error -> halt(1) end.'
+
+mccouch-$(VERSION).tar.gz:
+ git archive --prefix=mccouch-$(VERSION)/ --format tar HEAD | gzip -9vc > $@
+
+dist: mccouch-$(VERSION).tar.gz
Please sign in to comment.
Something went wrong with that request. Please try again.