commit 4c3c083ba18e6638ba198fc0ccc2ec810d23cb5e
parent ba6e56de8aae7ae8cf24f9d83c6e4fc7cdb291f9
Author: Kris Maglione <jg@suckless.org>
Date: Mon, 19 Feb 2007 16:44:20 -0500
Use --template instead of awk for VERSION as suggested by Maxi
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -1,5 +1,5 @@
# wmii version
-VERSION = $$(hg tip | awk -F '[: ]+' '/^changeset:/ { print "hg" $$2 }')
+VERSION = $$(hg tip --template 'hg\#rev\#')
CONFVERSION = 3.5
# Customize below to fit your system