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"
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