]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
make-debs.sh: use make-dist
authorSage Weil <sage@redhat.com>
Thu, 8 Sep 2016 15:04:13 +0000 (11:04 -0400)
committerSage Weil <sage@redhat.com>
Mon, 3 Oct 2016 13:46:50 +0000 (09:46 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
make-debs.sh

index 2b309f576305f2ddca3fd3d17de738a19e69887b..705d88de38c42a32fec79938209d8438a417c0bd 100755 (executable)
@@ -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