From 5f33382ce2e415eab94866a7227471a1aa951bcd Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 22 Oct 2017 00:39:25 +0200 Subject: [PATCH] debian/rules: Include pkg-info.pkg from dpkg to have DEB_SOURCE and DEB_VERSION available. --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index afb6b23..817910b 100755 --- a/debian/rules +++ b/debian/rules @@ -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)