Changeset - e7cdff886e36
[Not reviewed]
default
0 1 0
Silverwing - 5 years ago 2019-03-02 09:53:03

[fix] remove unneeded files from executable package
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
build.sh
Show inline comments
 
@@ -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}"`
0 comments (0 inline, 0 general)