aboutsummaryrefslogtreecommitdiffhomepage
path: root/distribute
diff options
context:
space:
mode:
Diffstat (limited to 'distribute')
-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 $@