Use pkg-info.mk variables instead of dpkg-parsechangelog output.
Bas Couwenberg
6 years ago
5 | 5 |
* Bump Standards-Version to 4.1.0, changes: priority.
|
6 | 6 |
* Update copyright years in copyright file.
|
7 | 7 |
* Refresh patches.
|
|
8 |
* Use pkg-info.mk variables instead of dpkg-parsechangelog output.
|
8 | 9 |
|
9 | 10 |
-- Bas Couwenberg <sebastic@debian.org> Mon, 25 Sep 2017 20:22:03 +0200
|
10 | 11 |
|
6 | 6 |
# Enable hardening build flags
|
7 | 7 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
8 | 8 |
|
9 | |
UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
|
|
9 |
include /usr/share/dpkg/pkg-info.mk
|
|
10 |
|
|
11 |
UPSTREAM_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
|
10 | 12 |
|
11 | 13 |
%:
|
12 | 14 |
dh $@ --with autoreconf --parallel
|