summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-03-09 21:38:30 -0800
committerSage Weil <sage@newdream.net>2010-03-11 09:06:55 -0800
commitdebaa520865be2ed8c2f98dbac44a8724cfca449 (patch)
treee447db201532d7b3af395abb964d3652a65a4e77
parent4fdb6ce34a10b82b51a6d9d5de2da738d37fd07c (diff)
downloadceph-debaa520865be2ed8c2f98dbac44a8724cfca449.tar.gz
debian: put debian/ in .diff.gz, not release tarball
-rw-r--r--Makefile.am2
-rwxr-xr-xbuilddebs.sh2
-rwxr-xr-xrelease.sh3
3 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5e076812305..7c52f738ed4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
AUTOMAKE_OPTIONS = gnu
-EXTRA_DIST = autogen.sh ceph.spec.in debian
+EXTRA_DIST = autogen.sh ceph.spec.in
SUBDIRS = src man
dist-hook:
diff --git a/builddebs.sh b/builddebs.sh
index ab95ebedc0e..55ebb12b235 100755
--- a/builddebs.sh
+++ b/builddebs.sh
@@ -11,6 +11,8 @@ vers=$1
for dist in sid squeeze lenny
do
+ pbuilder --clean
+
if [ -e $basedir/$dist.tgz ]; then
echo updating $dist base.tgz
pbuilder update --basetgz $basedir/$dist.tgz --distribution $dist
diff --git a/release.sh b/release.sh
index 5d8fca2b8b1..5d282b36dad 100755
--- a/release.sh
+++ b/release.sh
@@ -50,6 +50,9 @@ tar zxf ../../ceph-$vers.tar.gz
[ "$vers" != "$finalvers" ] && mv ceph-$vers ceph-$finalvers
tar zcf ceph_$finalvers.orig.tar.gz ceph-$finalvers
+# add debian dir
+cp -a ../../debian ceph-$finalvers
+
for dist in sid squeeze lenny
do
echo building $dist dsc