File: rules

package info (click to toggle)
pcaputils 0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: ansic: 2,945; sh: 44; makefile: 38
file content (18 lines) | stat: -rwxr-xr-x 463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS)"
	$(MAKE) -C doc

override_dh_installinit:
	dh_installinit --name=pcapdump -- start 90 2 3 4 5 . stop 05 0 1 6 .

override_dh_installsystemd:
	mkdir -p debian/pcaputils/usr/lib/systemd/system/
	cp debian/pcaputils.pcapdump@.service debian/pcaputils/usr/lib/systemd/system/pcapdump@.service
	dh_installsystemd --name=pcapdump