summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2011-01-27 16:07:18 -0500
committerAdam Kocoloski <adam@cloudant.com>2011-01-27 16:19:07 -0500
commit97db6774d460d41c732e8d4ece1908fe3921cc03 (patch)
tree3999d3da098cf86eb3d53dc428491557f3df958f /Makefile
parentf9102b903e3ff15cd9bea3bf4bcc7441e7a7d3a0 (diff)
Set couch app vsn based on deviation from last Apache tag
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e52d4698..159b5874 100644
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,12 @@
all: compile
+appfile = apps/couch/ebin/couch.app
compile:
@echo "==> couchjs (compile)"
@cd couchjs && python scons/scons.py
@./rebar compile
+ @cat $(appfile) | sed s/%VSN%/`git describe --match 1.*`/ > $(appfile)
clean:
@echo "==> couchjs (clean)"