use BUILD_MODE via the environment

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-01-31 16:11:09 +01:00
parent 069f2d16bf
commit bed78ccd63

5
debian/rules vendored
View File

@ -3,18 +3,19 @@
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
export BUILD_MODE=release
%:
dh $@ --with=systemd --with=bash-completion
override_dh_auto_build:
dh_auto_build -- \
PROXY_USER=www-data BUILD_MODE=release \
PROXY_USER=www-data \
LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
override_dh_auto_install:
dh_auto_install -- \
PROXY_USER=www-data BUILD_MODE=release \
PROXY_USER=www-data \
LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
override_dh_installinit: