2
export CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
3
export LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
6
dh $@ --with python3 --with autoreconf
8
override_dh_autoreconf:
9
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
11
override_dh_auto_configure:
12
dh_auto_configure -- --libdir=/usr/lib
14
override_dh_auto_test:
15
cd tests && python3 test_package-data-downloader.py
16
cd tests && python3 test_motd.py