File: rules

package info (click to toggle)
lomiri-url-dispatcher 0.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,356 kB
  • sloc: cpp: 2,057; ansic: 1,234; python: 45; makefile: 20; sh: 16; xml: 13; sql: 6
file content (30 lines) | stat: -rwxr-xr-x 782 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
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
export G_MESSAGES_DEBUG=all
export URL_DISPATCHER_DISABLE_RECOVERABLE_ERROR=1
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
export DEB_BUILD_PROFILES := cross
endif

include /usr/share/dpkg/buildflags.mk
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_BUILD_TYPE=debug -Denable_mirclient=off

override_dh_missing:
	dh_missing --fail-missing

override_dh_apparmor:
	dh_apparmor --profile-name=lomiri-url-dispatcher-bad-url-helper -p lomiri-url-dispatcher

override_dh_auto_test:
	dh_auto_test --no-parallel

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..