File: rules

package info (click to toggle)
lldpad 1.0.1%2Bgit20180808.4e642bd-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,216 kB
  • sloc: ansic: 47,078; sh: 2,001; lex: 1,036; makefile: 135
file content (28 lines) | stat: -rwxr-xr-x 589 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
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# For Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk


%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	rm -f parse_cli.c

override_dh_auto_install:
	dh_auto_install
	install -D lldpad.init debian/tmp/etc/init.d/lldpad
	mkdir -p debian/tmp/lib/systemd
	mv debian/tmp/usr/lib/systemd/system debian/tmp/lib/systemd

override_dh_installinit:
	dh_installinit -plldpad --only-scripts

override_dh_missing:
	dh_missing --fail-missing