Merge branch 'master' of ssh://drop.maemo.org/git/mdictionary
[mdictionary] / mdictionary.pro
index 64f5f2d..912067e 100644 (file)
@@ -4,13 +4,21 @@ isEmpty( ISQT4 ) {
 error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
 }
 
-MDICT_BINDIR = $$[MDICT_BINDIR]
+QT += sql
+TEMPLATE = subdirs
+SUBDIRS  = trunk
 
-isEmpty(MDICT_BINDIR) {
-       message("empty")
-}
-message($$MDICT_BINDIR)
+BINDIR = $$PREFIX/bin
+LIBDIR = $$PREFIX/lib/$${MDICT_APPNAME}
+DATADIR =$$PREFIX/share
+
+check.target = check
+check.CONFIG = recursive
+check.recurse = trunk
+
+rename_plugins.command = scripts/rename-plugins $$LIBDIR
+rename_plugins.path = $$LIBDIR
+
+
+QMAKE_EXTRA_TARGETS += check
 
-TEMPLATE = subdirs
-SUBDIRS  = trunk/src/base/
-SUBDIRS += trunk/src/plugins/xdxf/src/