X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=debian%2Frules;h=1bcf1019f37fd74bf4eadc2e06c95ccbd238c232;hb=HEAD;hp=bf664d5192e725271da75d51f50b804a92fa3a43;hpb=560acb84bf2fba4e938762920962ae0ed55e86e6;p=pgp-tools.git diff --git a/debian/rules b/debian/rules index bf664d5..1bcf101 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,9 @@ #!/usr/bin/make -f +export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow +DPKG_EXPORT_BUILDFLAGS = 1 +-include /usr/share/dpkg/buildflags.mk + VERSION := $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2) INSTALL = install @@ -21,7 +25,9 @@ configure-stamp: dh_testdir touch $@ -build: build-stamp +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE)