2014-01-26 06:05:30 +08:00
|
|
|
#!/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}
|
2014-01-26 17:48:37 +08:00
|
|
|
|
|
|
|
#bzr dh-make -v packagename version tarball
|
|
|
|
bzr dh_make -v hh ${HHVERSION} ${HH}.tgz
|
|
|
|
|
|
|
|
# rewrite to native dh_make:
|
|
|
|
#dh_make --single --createorig
|
|
|
|
|
2014-01-26 06:05:30 +08:00
|
|
|
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
|