From 5bd88a54bb118861be1230791e5e88789dcaceac Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 8 Sep 2016 11:04:13 -0400 Subject: [PATCH] make-debs.sh: use make-dist Signed-off-by: Sage Weil --- make-debs.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/make-debs.sh b/make-debs.sh index 2b309f576305f..705d88de38c42 100755 --- a/make-debs.sh +++ b/make-debs.sh @@ -34,24 +34,12 @@ git clean -dxf # d) contains the short hash of the commit # vers=$(git describe --match "v*" | sed s/^v//) -# -# creating the distribution tarbal requires some configure -# options (otherwise parts of the source tree will be left out). -# -./autogen.sh -./configure --with-rocksdb --with-ocf \ - --with-nss --with-debug --enable-cephfs-java \ - --with-lttng --with-babeltrace -# -# use distdir= to set the name of the top level directory of the -# tarbal to match the desired version -# -make distdir=ceph-$vers dist +./make-dist $vers # # rename the tarbal to match debian conventions and extract it # -mv ceph-$vers.tar.gz $releasedir/ceph_$vers.orig.tar.gz -tar -C $releasedir -zxf $releasedir/ceph_$vers.orig.tar.gz +mv ceph-$vers.tar.bz2 $releasedir/ceph_$vers.orig.tar.bz2 +tar -C $releasedir -jxf $releasedir/ceph_$vers.orig.tar.bz2 # # copy the debian directory over and remove -dbg packages # because they are large and take time to build -- 2.39.5