File: rules

package info (click to toggle)
jdim 0.10.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,028 kB
  • sloc: cpp: 82,640; makefile: 799; sh: 134; xml: 115
file content (28 lines) | stat: -rwxr-xr-x 602 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS := hardening=+all
export DEB_BUILD_OPTIONS=buildinfo=+path

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

export GTEST_SRCDIR=/usr/src/googletest


ifeq ($(shell uname -s),Linux)
  ALSA_OPTION=-Dalsa=enabled
endif

jdim_option = $(ALSA_OPTION) \
              -Dmigemo=enabled -Dmigemodict=/usr/share/cmigemo/utf-8/migemo-dict

%:
	dh $@ --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- $(jdim_option)

override_dh_compress:
	dh_compress -X.xml