aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-20 16:39:16 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-20 16:39:16 +0100
commit5fe64deffb5166edc23d9baff0e4864c7f979551 (patch)
tree796b01c2251f6c24cec536f8bc345a4b8932114d
parent0e7e76377990e03f645bbf5c26529968b3a99ab9 (diff)
downloadsciteco-5fe64deffb5166edc23d9baff0e4864c7f979551.tar.gz
./distribute debian SIGN=yes: sign source/binary packages
-rwxr-xr-xdistribute10
1 files 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 $@