projects
/
pgp-tools.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpgparticipants: Replace md5/sha1 by sha1/sha256
[pgp-tools.git]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index 12f7677759bd5e8fcdd9802e82245e18884876a4..1bcf1019f37fd74bf4eadc2e06c95ccbd238c232 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-1,6
+1,8
@@
#!/usr/bin/make -f
#!/usr/bin/make -f
-include /usr/share/quilt/quilt.make
+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)
VERSION := $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2)
@@
-23,13
+25,15
@@
configure-stamp:
dh_testdir
touch $@
dh_testdir
touch $@
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN) configure-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp: configure-stamp
dh_testdir
$(MAKE)
touch $@
dh_testdir
$(MAKE)
touch $@
-clean:
unpatch
+clean:
dh_testdir
dh_testroot
$(MAKE) clean
dh_testdir
dh_testroot
$(MAKE) clean
@@
-39,7
+43,7
@@
clean: unpatch
install: build
dh_testdir
dh_testroot
install: build
dh_testdir
dh_testroot
- dh_
clean -k
+ dh_
prep
dh_installdirs
$(MAKE) install DESTDIR=$(DESTDIR)
dh_install
dh_installdirs
$(MAKE) install DESTDIR=$(DESTDIR)
dh_install
@@
-57,10
+61,10
@@
install: build
$(INSTALL_PROGRAM) $(GPGWRAP_DIR)/$(GPGWRAP_PROG) $(DESTDIR_BIN)
$(INSTALL_DATA) $(GPGWRAP_DIR)/NEWS $(DESTDIR_DOC)/changelog.gpgwrap
$(INSTALL_PROGRAM) $(GPGWRAP_DIR)/$(GPGWRAP_PROG) $(DESTDIR_BIN)
$(INSTALL_DATA) $(GPGWRAP_DIR)/NEWS $(DESTDIR_DOC)/changelog.gpgwrap
- # ignore errors with older debhelper versions
- -dh_lintian
+ dh_lintian
binary-indep: build install
binary-indep: build install
+binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs
dh_testdir
dh_testroot
dh_installdocs
@@
-78,8
+82,6
@@
binary-indep: build install
dh_md5sums
dh_builddeb
dh_md5sums
dh_builddeb
-# Build architecture-dependent files here.
-binary-arch: build install
+binary: binary-indep binary-arch
-binary: binary-indep
.PHONY: build clean binary-indep binary-arch binary install configure
.PHONY: build clean binary-indep binary-arch binary install configure