pvc/build-deb.sh

11 lines
298 B
Bash
Raw Normal View History

2018-06-17 15:39:54 -04:00
#!/bin/sh
pushd $( git rev-parse --show-toplevel ) &>/dev/null
2020-02-15 23:24:22 -05:00
ver="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )"
2018-06-17 15:39:54 -04:00
git pull
rm ../pvc_*
find . -name "__pycache__" -exec rm -r {} \;
2018-06-17 15:42:22 -04:00
dh_make -p pvc_${ver} --createorig --single --yes
2018-06-17 15:39:54 -04:00
dpkg-buildpackage -us -uc
dh_clean
popd &>/dev/null