File: rules

package info (click to toggle)
aoetools 36-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 464 kB
  • sloc: ansic: 1,506; sh: 627; makefile: 54
file content (18 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download | duplicates (3)
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 $@ --with systemd

override_dh_auto_install:
	$(MAKE) install PREFIX=debian/aoetools SBINDIR=debian/aoetools/sbin
	install -D debian/hooks_aoe debian/aoetools/usr/share/initramfs-tools/hooks/aoe
	install -D debian/local-top_aoe debian/aoetools/usr/share/initramfs-tools/scripts/local-top/aoe

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_installinit:
	dh_installinit --no-restart-on-upgrade -u"start 41 S . start 34 0 6 ."
	dh_systemd_enable --name=aoe-discover