From: konrad Date: Sun, 27 Feb 2011 12:34:44 +0000 (+0000) Subject: some more... X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=0180588abfb3384ebb416c7f8cbb2d1cdaf82e1f;p=web%2Fkonrad%2Fsmoke.git some more... git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@739 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/Makefile b/Makefile index 89dcd00..ef79903 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,7 @@ XPAT=xmlpatterns QTDIR=$(shell $(QMAKE) -query QT_INSTALL_PREFIX) QTBIN=$(shell $(QMAKE) -query QT_INSTALL_BINS) +QTTRANS=$(shell $(QMAKE) -query QT_INSTALL_TRANSLATIONS) none: @echo "Usage: $(MAKE) target" @@ -153,7 +154,9 @@ debug: client server macosx: MYMAKE=xcodebuild macosx: client server lrelease - cd src && cp *.qm msmoke.app/Contents/MacOS && macdeployqt -dmg msmoke.app + 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 nsis: script client