rules 412 B

12345678910111213141516171819202122
  1. #!/usr/bin/make -f
  2. export DEB_BUILD_MAINT_OPTIONS = hardening=+all
  3. DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
  4. ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
  5. PLATFORM=freebsd
  6. else
  7. PLATFORM=linux
  8. endif
  9. %:
  10. dh $@
  11. override_dh_auto_build:
  12. $(MAKE) PLATFORM=$(PLATFORM)
  13. override_dh_auto_install:
  14. $(MAKE) install prefix=debian/vblade/usr
  15. override_dh_installchangelogs:
  16. dh_installchangelogs NEWS