summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e507cac..a307cc4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,14 @@
VERSION = $(shell cat VERSION)
NAME=kickstarter
TAGVER = $(shell cat VERSION | sed -e "s/\([0-9\.]*\).*/\1/")
+
+ifeq ($(VERSION), $(TAGVER))
+ TAG = $(TAGVER)
+else
+ TAG = "HEAD"
+endif
+
+
PYTHON=python
CHEETAH=cheetah
TEMPLATES=$(wildcard *.tmpl)