Skip to content

Commit

Permalink
make-debs.sh: use make-dist
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Oct 3, 2016
1 parent ea9b972 commit 5bd88a5
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions make-debs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5bd88a5

Please sign in to comment.