#!/usr/bin/make -f ifeq (,$(filter $(DEB_HOST_ARCH), mips mipsel mips64el)) HARDENING := -buildmode=pie -ldflags="-extldflags -Wl,-z,now,-z,relro" endif %: dh $@ --builddirectory=_build --buildsystem=golang override_dh_auto_build: dh_auto_build -O --buildsystem=golang -- $(HARDENING) override_dh_auto_install: dh_auto_install -- --no-source execute_after_dh_auto_build: ronn -r man/go-sendxmpp.*.ronn