Added target in mDictionary.pro to rename plugin names
authorMateusz Półrola <mateusz.polrola@comarch.pl>
Fri, 6 Aug 2010 13:53:17 +0000 (15:53 +0200)
committerMateusz Półrola <mateusz.polrola@comarch.pl>
Fri, 6 Aug 2010 13:53:17 +0000 (15:53 +0200)
buildapp
mdictionary.pro

index e66dec2..ae8e170 100755 (executable)
--- a/buildapp
+++ b/buildapp
@@ -1,9 +1,9 @@
 #!/bin/bash
 
-./setqmake
-qmake mdictionary.pro
-make clean
-make
-make clean
+#./setqmake
+#qmake mdictionary.pro
+#make clean
+#make
+#make clean
 ./rename-plugins "lib/mdictionary"
 
index 1f61f8a..0b0cbc8 100644 (file)
@@ -4,20 +4,14 @@ isEmpty( ISQT4 ) {
 error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
 }
 
-MDICT_BINDIR = $$[MDICT_BINDIR]
-
-isEmpty(MDICT_BINDIR) {
-       message("empty")
-}
-message($$MDICT_BINDIR)
 
 TEMPLATE = subdirs
 SUBDIRS  = trunk
-#SUBDIRS += trunk/src/plugins/xdxf/src/
 
 check.target = check
 check.CONFIG = recursive
 check.recurse = trunk
-QMAKE_EXTRA_TARGETS += check
 
 
+rename_plugins.commands = ./rename-plugins "lib/mdictionary"
+QMAKE_EXTRA_TARGETS += check rename_plugins