mirror of
https://github.com/dvorka/hstr.git
synced 2024-11-15 12:30:45 +08:00
31 lines
541 B
Bash
Executable file
31 lines
541 B
Bash
Executable file
#!/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
|