File: rules

package info (click to toggle)
direwolf 1.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,376 kB
  • ctags: 3,887
  • sloc: ansic: 48,436; sh: 180; perl: 170; makefile: 28; python: 11
file content (26 lines) | stat: -rwxr-xr-x 527 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with=systemd

override_dh_auto_build:
	make -f Makefile.linux

override_dh_installinit:
	dh_installinit --no-start --noscripts
override_dh_auto_install:
	@echo "Skipping the install to /usr/local"

override_dh_auto_clean:
	make -f Makefile.linux clean
	-rm gen_fff
	-rm direwolf.conf

override_dh_fixperms-arch:
	dh_fixperms
	chmod 644 debian/direwolf/usr/share/direwolf/dw-icon.png
override_dh_systemd_enable:
	dh_systemd_enable \
		--no-enable