mirror of https://gerrit.osmocom.org/libosmocore
Use package version since git info won't be available.
This commit is contained in:
parent
8dbdc4f3d4
commit
b5372ab110
|
@ -1,3 +1,9 @@
|
|||
libosmocore (0.5.3+git1-1) precise; urgency=low
|
||||
|
||||
* Fix issue with package version.
|
||||
|
||||
-- Eric Butler <eric@codebutler.com> Tue, 14 Aug 2012 20:43:17 -0700
|
||||
|
||||
libosmocore (0.5.3+git1) precise; urgency=low
|
||||
|
||||
* Updated debian package.
|
||||
|
|
|
@ -9,14 +9,22 @@
|
|||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
|
||||
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
|
||||
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
|
||||
|
||||
CFLAGS = -Wall -g
|
||||
|
||||
%:
|
||||
dh --with autoreconf $@
|
||||
dh --with autoreconf $@ --fail-missing
|
||||
|
||||
#override_dh_strip:
|
||||
# dh_strip --dbg-package=libosmocore-dbg
|
||||
|
||||
override_dh_autoreconf:
|
||||
echo $(VERSION) > .tarball-version
|
||||
dh_autoreconf
|
||||
|
||||
override_dh_auto_test:
|
||||
# tests are broken...
|
||||
|
||||
|
|
Loading…
Reference in New Issue