notcurses/debian/rules

22 lines
528 B
Plaintext
Raw Normal View History

2019-11-17 10:15:40 +00:00
#!/usr/bin/make -f
DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
2019-11-17 10:15:40 +00:00
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=notcurses
2019-11-17 10:15:40 +00:00
%:
2020-01-28 21:43:02 +00:00
dh $@ --with python3 --buildsystem=cmake
2019-11-17 10:15:40 +00:00
# dh_auto_test -O--buildsystem=cmake -O--no-parallel
# Don't try to run ncurses tests
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd obj-x86_64-linux-gnu && env -u TERM make test
endif
2020-01-28 21:43:02 +00:00
override_dh_auto_install:
dh_auto_install -B $(BUILDDIR)