#!/usr/bin/make -f # -*- makefile -*- #export DH_VERBOSE=1 export DH_OPTIONS export LC_ALL=C.UTF-8 export "DEB_BUILD_MAINT_OPTIONS=hardening=+all optimize=+lto" DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk %: dh $@ --with python3 override_dh_auto_configure: dh_auto_configure -- --disable-static --enable-python-bindings 'PYTHON_INSTALL_PARAMS=--no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp' override_dh_auto_install: dh_auto_install find $(CURDIR) -type f -name '*.pyc' -exec rm -f '{}' \; find $(CURDIR) -type f -name '*.pyo' -exec rm -f '{}' \; find $(CURDIR) -type f -name '*.la' -exec rm -f '{}' \; override_dh_installdocs: dh_installdocs dh_installdocs -A AUTHORS