File: rules

package info (click to toggle)
swath 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,472 kB
  • sloc: sh: 4,361; cpp: 2,332; makefile: 150
file content (32 lines) | stat: -rwxr-xr-x 595 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
31
32
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow,+pie

%:
	dh $@

override_dh_auto_build-indep:
	dh_auto_build -- -C data

override_dh_auto_build-arch:
	dh_auto_build -- -C conv
	dh_auto_build -- -C src

# No test for data
override_dh_auto_test-indep:

ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
override_dh_auto_test-arch:
	dh_auto_build -- -C data
	dh_auto_test -- -C tests
endif

override_dh_auto_install-indep:
	dh_auto_install -- -C data

override_dh_auto_install-arch:
	dh_auto_install -- -C src