@@ -3,13 +3,14 @@ VERSION="1.0.0"
pyrcc5 pics/pics.qrc -o pics/__init__.py
rm kcdemu.zip
zip -r kcdemu.zip ./ -x \*.png \*.ui .hg\* .idea\* build.sh
zip -r kcdemu.zip ./ -x \*.png \*.ui .hg\* .idea\* build.sh ./packaging/\* \*.pyc \*__pycache__\*
mkdir build
mkdir build/temp
# Debian/Ubuntu
mkdir build/temp/debian
cp -r packaging/debian/* build/temp/debian
mkdir -p build/temp/debian/opt/kcdemu/
cp kcdemu.zip build/temp/debian/opt/kcdemu/
CONTROL=`cat build/temp/debian/DEBIAN/control`
CONTROL=`echo "${CONTROL//%VERSION%/$VERSION}"`