File: rules

package info (click to toggle)
swath 0.6.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,472 kB
  • sloc: sh: 4,361; cpp: 2,332; makefile: 148
file content (30 lines) | stat: -rwxr-xr-x 542 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

# 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:

override_dh_auto_test-arch:
	dh_auto_build -- -C data
	dh_auto_test -- -C tests

override_dh_auto_install-indep:
	dh_auto_install -- -C data

override_dh_auto_install-arch:
	dh_auto_install -- -C src