| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
#export DH_VERBOSE=1 |
| 5 |
export DH_OPTIONS |
| 6 |
export LC_ALL=C.UTF-8 |
| 7 |
|
| 8 |
export "DEB_BUILD_MAINT_OPTIONS=hardening=+all optimize=+lto reproducible=+fixfilepath" |
| 9 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 10 |
include /usr/share/dpkg/buildflags.mk |
| 11 |
|
| 12 |
%: |
| 13 |
dh $@ |
| 14 |
|
| 15 |
override_dh_auto_configure: |
| 16 |
dh_auto_configure -- --disable-static --enable-python-bindings 'PYTHON_INSTALL_PARAMS=--no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp' |
| 17 |
|
| 18 |
execute_after_dh_auto_install: |
| 19 |
find $(CURDIR) -type f -name '*.pyc' -delete |
| 20 |
find $(CURDIR) -type f -name '*.la' -delete |