| 1 |
#!/usr/bin/make -f |
| 2 |
# Uncomment this to turn on verbose mode. |
| 3 |
# export DH_VERBOSE=1 |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONS := hardening=+all |
| 6 |
export DEB_BUILD_OPTIONS=buildinfo=+path |
| 7 |
|
| 8 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 9 |
include /usr/share/dpkg/buildflags.mk |
| 10 |
|
| 11 |
export GTEST_SRCDIR=/usr/src/googletest |
| 12 |
|
| 13 |
|
| 14 |
ifeq ($(shell uname -s),Linux) |
| 15 |
ALSA_OPTION=-Dalsa=enabled |
| 16 |
endif |
| 17 |
|
| 18 |
jdim_option = $(ALSA_OPTION) \ |
| 19 |
-Dmigemo=enabled -Dmigemodict=/usr/share/cmigemo/utf-8/migemo-dict |
| 20 |
|
| 21 |
%: |
| 22 |
dh $@ --buildsystem=meson |
| 23 |
|
| 24 |
override_dh_auto_configure: |
| 25 |
dh_auto_configure -- $(jdim_option) |
| 26 |
|
| 27 |
override_dh_compress: |
| 28 |
dh_compress -X.xml |