#!/usr/bin/make -f DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) export DEB_BUILD_MAINT_OPTIONS = hardening=+all export PYBUILD_NAME=notcurses %: dh $@ --buildsystem=cmake override_dh_auto_configure: dh_auto_configure -- -DDFSG_BUILD=ON override_dh_auto_build: dh_auto_build cd python && python3 setup.py build_ext -L../obj-x86_64-linux-gnu -I../include cd python && python3 setup.py sdist override_dh_auto_install: dh_auto_install -B $(BUILDDIR) cd python && python3 setup.py install --prefix=/usr --skip-build --root=../debian/tmp --install-layout=deb rm -rf debian/tmp/usr/lib/python3/dist-packages/__pycache__