#!/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 reproducible=+fixfilepath" DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk %: dh $@ override_dh_auto_configure: # armel and powerpc still need -latomic dh_auto_configure -- --disable-static --enable-all-tools --with-readline --enable-python-bindings 'PYTHON_INSTALL_PARAMS=--no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp' "LDFLAGS=$(LDFLAGS) -latomic" override_dh_auto_test: # Disable because they still break on big-endian execute_after_dh_auto_install: find $(CURDIR) -type f -name '*.pyc' -delete find $(CURDIR) -type f -name '*.la' -delete