diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-03-20 16:17:18 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-03-20 16:17:18 +0100 |
commit | 0e7e76377990e03f645bbf5c26529968b3a99ab9 (patch) | |
tree | e443afe4daa86be5489ce9c0358e34dc768f8c72 /distribute | |
parent | bfeac5ca8d9d5cf127bd6d52404266da6e04e952 (diff) | |
download | sciteco-0e7e76377990e03f645bbf5c26529968b3a99ab9.tar.gz |
use a Debian version and branch by default
* distributed binary packages are standard debian packages
* ./distribute might fix up the package version and branch for Ubuntu/PPA
Diffstat (limited to 'distribute')
-rwxr-xr-x | distribute | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -37,6 +37,8 @@ sciteco-$(SCITECO_VERSION)-bundle.tar.gz : $(SCITECO_SRC) $(SCINTILLA_SRC) $(SCI tar czf $@ sciteco-$(SCITECO_VERSION)/ rm -rf sciteco-$(SCITECO_VERSION)/ +# $(UBUNTU) sets the Ubuntu distribution and fixes the package's +# version debian-prepare: debian-temp/ debian-temp/ : bundle mkdir debian-temp/ @@ -46,6 +48,11 @@ debian-temp/ : bundle tar xzf sciteco_$(SCITECO_VERSION).orig.tar.gz; \ cp -r ../debian sciteco-$(SCITECO_VERSION)/; \ ) +ifneq ($(UBUNTU),) + sciteco -e "@EB|debian-temp/sciteco-$(SCITECO_VERSION)/debian/changelog| \ + <@FS/ unstable;/ $(UBUNTU);/; -@S/)/R @I/ppa1~$(UBUNTU)1/ L> \ + @EW||" +endif debian-source : debian-temp/source-stamp debian-temp/source-stamp : debian-prepare |