spiegel-keyman/common/engine/keyboardprocessor/debian/rules
Daniel Glassey 18184afbaa
[linux] keyboardprocessor debian dir (#1362)
* initial debian dir for keyman-keyboardprocessor

* move install file back

* backport tmpsources target
2018-11-30 14:00:28 +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