File: rules

package info (click to toggle)
libtsm 4.4.2-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 916 kB
  • sloc: ansic: 13,647; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 557 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS := qa=+bug hardening=+all reproducible=+all
export DPKG_GENSYMBOLS_CHECK_LEVEL := 4

ifneq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)
	CONFIGURE_FLAGS += -Dtests=false
else
	CONFIGURE_FLAGS += -Dtests=true
endif

%:
	dh $@ --builddirectory=build/ \
		--buildsystem=meson	

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)