aboutsummaryrefslogtreecommitdiff
path: root/qmmp.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qmmp.pro')
-rw-r--r--qmmp.pro8
1 files changed, 7 insertions, 1 deletions
diff --git a/qmmp.pro b/qmmp.pro
index e6439283a..19e80d706 100644
--- a/qmmp.pro
+++ b/qmmp.pro
@@ -28,7 +28,13 @@ message(Found lrelease executable: $$LRELEASE_EXECUTABLE)
}
message(generating translations)
-unix:system(find . -name *.ts | xargs $$LRELEASE_EXECUTABLE -compress)
+
+unix {
+ system(find . -name *.ts | xargs $$LRELEASE_EXECUTABLE -compress)
+ QMAKE_DISTCLEAN += $$system(find . -name *.qm)
+ QMAKE_DISTCLEAN += r lib
+}
+
win32:system(for /r %B in (*.ts) do $$LRELEASE_EXECUTABLE -compress %B)
message("******* BUILD CONFIGURATION *******")