rules 797 B

12345678910111213141516171819202122232425262728293031
  1. #!/usr/bin/make -f
  2. export DEB_BUILD_MAINT_OPTIONS = hardening=+all
  3. %:
  4. dh $@
  5. override_dh_clean:
  6. -rm \
  7. debian/vblade-persist-convert.8 \
  8. contrib/persistence/vblade-persistence.5
  9. dh_clean
  10. override_dh_auto_build:
  11. dh_auto_build --no-parallel -- PLATFORM=linux
  12. override_dh_auto_install:
  13. $(MAKE) install prefix=debian/vblade/usr
  14. override_dh_installchangelogs:
  15. dh_installchangelogs NEWS
  16. override_dh_installman:
  17. asciidoctor --attribute reproducible --backend=manpage debian/vblade-persist-convert.txt
  18. asciidoctor --attribute reproducible --backend=manpage contrib/persistence/vblade-persistence.txt
  19. dh_installman
  20. # needed as long as vblade-generator is provided by a patch
  21. override_dh_fixperms:
  22. dh_fixperms
  23. chmod 0755 debian/vblade/usr/lib/systemd/system-generators/vblade-generator