File: rules

package info (click to toggle)
ekeyd 1.1.5-6.2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 804 kB
  • ctags: 1,039
  • sloc: ansic: 5,259; sh: 333; makefile: 262; perl: 150
file content (26 lines) | stat: -rwxr-xr-x 880 bytes parent folder | download | duplicates (3)
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

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) -C host clean

override_dh_auto_build:
	$(MAKE) -C host BUILD_ULUSBD=no

override_dh_auto_install:
	install -m 644 munin/plugin-conf.d_ekeyd debian/ekeyd/etc/munin/plugin-conf.d/ekeyd
	install -m 644 debian/ekeyd.default debian/ekeyd/etc/default/ekeyd
	install -m 600 debian/ekeyd.keyring debian/ekeyd/etc/entropykey/keyring
	if [ -d debian/ekeyd-egd-linux ] ; then \
	 install -m 755 host/egd-linux debian/ekeyd-egd-linux/usr/sbin/ekeyd-egd-linux; \
	 install -m 644 debian/ekeyd-egd-linux.default debian/ekeyd-egd-linux/etc/default/ekeyd-egd-linux ; \
	 install -m 644 host/egd-linux.8 debian/ekeyd-egd-linux/usr/share/man/man8/ekeyd-egd-linux.8 ; \
	fi

override_dh_fixperms:
	dh_fixperms
	chmod 0755 debian/ekeyd/usr/share/munin/plugins/ekeyd_stat_
	chmod 0755 debian/ekeyd/lib/udev/entropykey.sh