make macos target actually work
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sun, 27 Feb 2011 12:49:41 +0000 (12:49 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sun, 27 Feb 2011 12:49:41 +0000 (12:49 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@740 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

Makefile

index ef79903..7a4196a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -154,9 +154,9 @@ debug: client server
 
 macosx: MYMAKE=xcodebuild
 macosx: client server lrelease
-       cd src && cp *.qm msmoke.app/Contents/MacOS && \
-        for i in *.qm ; do $(QTTRANS)/qt${i#smoke} msmoke.app/Contents/MacOS ; done && \
-        macdeployqt -dmg msmoke.app
+       cd src ; cp *.qm msmoke.app/Contents/MacOS
+       cd src ; for i in *.qm ; do cp -f $(QTTRANS)/qt$${i#smoke} msmoke.app/Contents/MacOS || true ; done
+       cd src ; rm -f msmoke.dmg ; macdeployqt msmoke.app -dmg
 
 
 nsis: script client