summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-12-23 14:26:52 -0200
committerdrebs <drebs@leap.se>2013-12-23 14:26:52 -0200
commit7f851488dbc8fe70924432c279488e31b662f854 (patch)
tree8d9f3c8389ea416effa79b542f63216fc0b4a9b7 /Makefile
parent2a71d0c9b74c69f8c195f219a82b689685b6d110 (diff)
parent79bef2ea88c01e629973df3de97eb3456add3793 (diff)
Merge branch 'release-0.0.3'0.0.3
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fb59643..d331e5b 100755
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ RSA_FILE := META-INF/zigbert.rsa
# the following variables are updated automatically
COMMIT := $(shell git --no-pager log -1 --format=format:%h)
-VERSION = $(shell head -n1 Changelog | sed -e 's/^.*(//' -e 's/).*$$//')
+VERSION = $(shell head -n1 CHANGELOG | cut -d" " -f1)
PKGNAME := $(EXTNAME)-$(VERSION)-$(COMMIT).xpi
TARGET := $(CURDIR)/build/$(PKGNAME)
TEMPDIR := $(shell mktemp -d -u)