File: rules

package info (click to toggle)
jsusfx 0.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,644 kB
  • sloc: ansic: 17,807; cpp: 6,613; php: 394; yacc: 338; makefile: 187; lex: 113; sh: 6
file content (32 lines) | stat: -rwxr-xr-x 696 bytes parent folder | download
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

#enable hardening
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
	^\./\.git/.*|\./debian/|.*\.xcuserstate$

%:
	dh $@

override_dh_auto_build:
ifneq (,$(findstring amd64,$(DEB_BUILD_ARCH)))
	make -C pd
else
	make -C pd PORTABLE=true
endif
	cp pd/jsusfx_test.pd jsusfx~-help.pd
	debian/liteon.sh
	dh_auto_build

override_dh_auto_clean:
	make -C pd clean
	-rm  -f jsusfx~-help.pd
	-rm -rf liteon
	-rm WDL/eel2/*.asm
	dh_auto_clean

licensecheck:
	licensecheck -i "$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)" --deb-machine -r . \
		> debian/copyright_newhints
	cmp debian/copyright_hints debian/copyright_newhints \
		&& rm debian/copyright_newhints