debian/rules: Include pkg-info.pkg from dpkg to have DEB_SOURCE and DEB_VERSION available.

This commit is contained in:
Mike Gabriel 2017-10-22 00:39:25 +02:00
parent 93e13539b3
commit 5f33382ce2

2
debian/rules vendored
View File

@ -85,6 +85,8 @@ override_dh_strip:
dh_strip -pfreerdp2-wayland --dbgsym-migration='freerdp2-wayland-dbg (<< 2.0.0~git20161130.1.e60d0d5+dfsg1-1~exp1~)'
dh_strip -plibuwac0-0 --dbgsym-migration='libuwac0-dbg (<< 2.0.0~git20161130.1.e60d0d5+dfsg1-1~exp1~)'
include /usr/share/dpkg/pkg-info.mk
PKD = $(word 1,$(abspath $(dir $(MAKEFILE_LIST))))
PKG = $(DEB_SOURCE)
UVER = $(shell echo $(DEB_VERSION) | cut -d "-" -f1)