diff options
author | drebs <drebs@leap.se> | 2013-11-19 09:43:17 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-11-19 09:43:17 -0200 |
commit | f57e73eaf185ebd2ef007980345c0f45dc81350e (patch) | |
tree | d9713372545d7a1338f66059bad81d060f2d6c97 /Makefile | |
parent | 2a71d0c9b74c69f8c195f219a82b689685b6d110 (diff) |
Fix version inference in Makefile.
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |