2010-03-13 21:15:50 +01:00
|
|
|
#!/bin/sh
|
|
|
|
cd ..
|
2010-04-11 20:04:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
# 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
|
2010-04-11 20:04:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
# first clean up
|
2010-03-13 21:15:50 +01:00
|
|
|
rm -rf llcon.app
|
|
|
|
make clean
|
2010-04-11 20:04:06 +02:00
|
|
|
|
|
|
|
# make everything
|
2010-03-13 21:15:50 +01:00
|
|
|
make -j2
|
2010-04-11 20:04:06 +02:00
|
|
|
|
|
|
|
# call qt mac deploy tool
|
2010-03-13 21:15:50 +01:00
|
|
|
macdeployqt llcon.app -dmg
|
2010-04-11 20:04:06 +02:00
|
|
|
|
|
|
|
# create zip file including COPYING file
|
2010-03-14 16:51:22 +01:00
|
|
|
zip llcon-version-mac.zip llcon.dmg COPYING
|
2010-04-11 20:04:06 +02:00
|
|
|
|
2010-04-12 20:19:33 +02:00
|
|
|
# move new file in deploy directory
|
|
|
|
mv llcon-version-mac.zip deploy/llcon-version-mac.zip
|
|
|
|
|
2010-04-11 20:04:06 +02:00
|
|
|
# cleanup and go back to original directory
|
2010-03-14 16:51:22 +01:00
|
|
|
rm llcon.dmg
|
2010-03-13 21:15:50 +01:00
|
|
|
cd mac
|