aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-20 21:14:44 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-20 21:14:44 +0100
commit1fbcb23b1219cfd9dd9bbcca8e4c0573ef0a1be4 (patch)
tree831a38311775db3c195be5285c5e6dfa11271001
parentc430aa6385c26bae7032b8eae4ac096af5accac0 (diff)
downloadsciteco-1fbcb23b1219cfd9dd9bbcca8e4c0573ef0a1be4.tar.gz
./distribute: allow not to upload original sources (UPLOAD_SRC=no)v0.5
* useful when uploading into PPA for different series
-rwxr-xr-xdistribute16
1 files changed, 12 insertions, 4 deletions
diff --git a/distribute b/distribute
index 94da595..4b2ccff 100755
--- a/distribute
+++ b/distribute
@@ -54,23 +54,31 @@ ifneq ($(UBUNTU),)
@EW||"
endif
-ifeq ($(SIGN),)
+SIGN ?= no
+ifeq ($(SIGN),yes)
+DEBUILD_FLAGS :=
+else
DEBUILD_FLAGS := -us -uc
+endif
+
+UPLOAD_SRC ?= yes
+ifeq ($(UPLOAD_SRC),yes)
+DEBUILD_FLAGS += -sa
else
-DEBUILD_FLAGS :=
+DEBUILD_FLAGS += -sd
endif
debian-source : debian-temp/source-stamp
debian-temp/source-stamp : debian-prepare
(cd debian-temp/sciteco-$(SCITECO_VERSION)/; \
- debuild -S -sa $(DEBUILD_FLAGS); \
+ debuild -S $(DEBUILD_FLAGS); \
)
touch $@
debian-binary : debian-temp/binary-stamp
debian-temp/binary-stamp : debian-prepare
(cd debian-temp/sciteco-$(SCITECO_VERSION)/; \
- debuild -b -sa $(DEBUILD_FLAGS); \
+ debuild -b $(DEBUILD_FLAGS); \
)
touch $@