mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
25 lines
580 B
Makefile
Executable File
25 lines
580 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
|
|
# see FEATURE AREAS in dpkg-buildflags(1)
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
export PYBUILD_NAME=notcurses
|
|
|
|
%:
|
|
dh $@ --buildsystem=cmake
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- -DDFSG_BUILD=ON
|
|
|
|
# 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
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install -B $(BUILDDIR)
|