#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS) ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) PLATFORM=freebsd else PLATFORM=linux endif %: dh $@ override_dh_auto_build: $(MAKE) PLATFORM=$(PLATFORM) override_dh_auto_install: $(MAKE) install prefix=debian/vblade/usr override_dh_installchangelogs: dh_installchangelogs NEWS