mirror of
https://github.com/dvorka/hstr.git
synced 2024-11-10 17:18:35 +08:00
31 lines
530 B
Bash
Executable file
31 lines
530 B
Bash
Executable file
#!/bin/bash
|
|
|
|
. ~/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
|