hstr/dist/debian-make-distro.sh

32 lines
541 B
Bash
Raw Normal View History

#!/bin/bash
. /home/dvorka/p/hstr/github/hstr/dist/debian-env.sh
rm -rvf *.*~ ./debian
mkdir ${HHBUILD}
cd ${HHBUILD}
cp -rvf ${HHSRC} .
cd ./hstr/dist && ./1-dist.sh && rm -vrf ../tests && cd ../..
cd `pwd`
mv hstr ${HH}
tar zcf ${HH}.tgz ${HH}
rm -rvf ${HH}
#bzr dh-make -v packagename version tarball
bzr dh_make -v hh ${HHVERSION} ${HH}.tgz
# rewrite to native dh_make:
#dh_make --single --createorig
rm -vf *.orig.tar.gz
cd hh/dist
./2-debian-build-deb.sh
pwd
echo -e "\n\nFinish by running 3-debian-push-mentors.sh\n"
# eof