mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 08:37:11 -05:00
tweak mac build script
This commit is contained in:
parent
c2d9ab9423
commit
6ed8749909
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
|
PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
|
||||||
|
|
||||||
|
rsync -av ../lib/ libanki/
|
||||||
|
rsync -av ../qt/ ankiqt/
|
||||||
|
|
||||||
if [ "x$debug" = "x" ]; then
|
if [ "x$debug" = "x" ]; then
|
||||||
echo "cleaning up..."
|
echo "cleaning up..."
|
||||||
rm -rf build dist
|
rm -rf build dist
|
||||||
|
|
@ -13,4 +16,3 @@ mkdir ankiqt/imageformats
|
||||||
cp -Rvf /Developer/Applications/Qt/plugins/imageformats/libq{gif,jpeg,svg,tiff}* ankiqt/imageformats
|
cp -Rvf /Developer/Applications/Qt/plugins/imageformats/libq{gif,jpeg,svg,tiff}* ankiqt/imageformats
|
||||||
echo "building..."
|
echo "building..."
|
||||||
PYTHONPATH=ankiqt:libanki $PYTHON ankiqt/mac/setup.py bdist_dmg
|
PYTHONPATH=ankiqt:libanki $PYTHON ankiqt/mac/setup.py bdist_dmg
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue