From 0180588abfb3384ebb416c7f8cbb2d1cdaf82e1f Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 27 Feb 2011 12:34:44 +0000 Subject: [PATCH] some more... git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@739 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) 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 -- 1.7.2.5