| 1 |
|
| 2 |
|
| 3 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 4 |
include /usr/share/dpkg/default.mk |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
export DEB_PYTHON_INSTALL_LAYOUT = deb |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ |
| 11 |
|
| 12 |
override_dh_auto_configure: |
| 13 |
dh_auto_configure -- \ |
| 14 |
--with-python3 \ |
| 15 |
--without-tools |
| 16 |
|
| 17 |
override_dh_auto_test: |
| 18 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 19 |
PYTHONPATH=src/python/ LD_LIBRARY_PATH=src/.libs/ ./tests/libbytesize_unittest.sh |
| 20 |
endif |
| 21 |
|
| 22 |
execute_before_dh_install: |
| 23 |
find debian/tmp -name '*.la' -print -delete |