jamulus/mac/deploy_mac.sh

28 lines
528 B
Bash
Raw Normal View History

2010-03-13 21:15:50 +01:00
#!/bin/sh
cd ..
# TODO add tag to CVS with current version number
2010-04-12 20:19:33 +02:00
# cvs -n update 2>null | grep -i "M " # error if any file is locally modified!!! -> TODO
# first clean up
2010-03-13 21:15:50 +01:00
rm -rf llcon.app
make clean
# make everything
2010-03-13 21:15:50 +01:00
make -j2
# call qt mac deploy tool
2010-03-13 21:15:50 +01:00
macdeployqt llcon.app -dmg
# create zip file including COPYING file
zip llcon-version-mac.zip llcon.dmg COPYING
2010-04-12 20:19:33 +02:00
# move new file in deploy directory
mv llcon-version-mac.zip deploy/llcon-version-mac.zip
# cleanup and go back to original directory
rm llcon.dmg
2010-03-13 21:15:50 +01:00
cd mac