aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rwxr-xr-xdistribute7
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 57e7395..528445e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-sciteco (0.1-1ppa1~oneiric1) oneiric; urgency=low
+sciteco (0.1-1) unstable; urgency=low
* initial debianization
* single package with architecture independent files
diff --git a/distribute b/distribute
index fe2c6a5..2169bda 100755
--- a/distribute
+++ b/distribute
@@ -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