mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
* initial debian dir for keyman-keyboardprocessor * move install file back * backport tmpsources target
31 lines
562 B
Makefile
Executable file
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
|
|
|