rules 564 B

123456789101112131415161718
  1. #!/usr/bin/make -f
  2. export DEB_BUILD_MAINT_OPTIONS = hardening=+all
  3. %:
  4. dh $@ --with systemd
  5. override_dh_auto_install:
  6. $(MAKE) install PREFIX=debian/aoetools SBINDIR=debian/aoetools/sbin
  7. install -D debian/hooks_aoe debian/aoetools/usr/share/initramfs-tools/hooks/aoe
  8. install -D debian/local-top_aoe debian/aoetools/usr/share/initramfs-tools/scripts/local-top/aoe
  9. override_dh_installchangelogs:
  10. dh_installchangelogs NEWS
  11. override_dh_installinit:
  12. dh_installinit --no-restart-on-upgrade -u"start 41 S . start 34 0 6 ."
  13. dh_systemd_enable --name=aoe-discover