spiegel-keyman/common/core/keyboardprocessor/debian/rules
2020-02-26 13:49:08 +07:00

31 lines
562 B
Makefile
Executable file

#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# xenial needs this to be explicit
export LC_ALL=C.UTF-8
%:
dh $@
override_dh_auto_clean:
rm -fr debian/build
override_dh_auto_configure:
mkdir -p debian/build
cd debian/build && meson \
--prefix=/usr \
../..
override_dh_auto_build:
cd debian/build && ninja -v
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd debian/build && ninja test
endif
override_dh_auto_install:
cd debian/build && DESTDIR=${CURDIR}/debian/tmp ninja install