build: remove exported variables

in favor of generated rules.d snippet. this allows calling
dpkg-buildpackage in the build directory manually without setting up the
environment to match.
This commit is contained in:
Fabian Grünbichler 2018-03-09 11:25:58 +01:00
parent f3acafc70e
commit 66aed5b89f
2 changed files with 24 additions and 17 deletions

3
debian/rules vendored
View file

@ -5,11 +5,12 @@
#export DH_VERBOSE=1
# TODO: check for headers not being installed
BUILD_DIR=$(shell pwd)
include /usr/share/dpkg/default.mk
include debian/rules.d/env.mk
include debian/rules.d/${DEB_BUILD_ARCH}.mk
KVNAME=${DEB_VERSION_UPSTREAM}${EXTRAVERSION}
CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate)
PVE_KERNEL_PKG=pve-kernel-${KVNAME}