diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-03-20 21:14:44 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-03-20 21:14:44 +0100 |
commit | 1fbcb23b1219cfd9dd9bbcca8e4c0573ef0a1be4 (patch) | |
tree | 831a38311775db3c195be5285c5e6dfa11271001 | |
parent | c430aa6385c26bae7032b8eae4ac096af5accac0 (diff) | |
download | sciteco-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-x | distribute | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -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 $@ |