From 5fe64deffb5166edc23d9baff0e4864c7f979551 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 20 Mar 2013 16:39:16 +0100 Subject: ./distribute debian SIGN=yes: sign source/binary packages --- distribute | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/distribute b/distribute index 2169bda..fcadb84 100755 --- a/distribute +++ b/distribute @@ -54,17 +54,23 @@ ifneq ($(UBUNTU),) @EW||" endif +ifeq ($(SIGN),) +DEBUILD_FLAGS := -us -uc +else +DEBUILD_FLAGS := +endif + debian-source : debian-temp/source-stamp debian-temp/source-stamp : debian-prepare (cd debian-temp/sciteco-$(SCITECO_VERSION)/; \ - debuild -us -uc -S; \ + debuild -S -sa $(DEBUILD_FLAGS); \ ) touch $@ debian-binary : debian-temp/binary-stamp debian-temp/binary-stamp : debian-prepare (cd debian-temp/sciteco-$(SCITECO_VERSION)/; \ - debuild -us -uc -b; \ + debuild -b -sa $(DEBUILD_FLAGS); \ ) touch $@ -- cgit v1.2.3