+++ /dev/null
-#!/bin/bash
-
-#./setqmake
-#qmake mdictionary.pro
-#make clean
-#make
-#make clean
-./rename-plugins "lib/mdictionary"
-
+++ /dev/null
-mdictionary_1.0.0-2_i386.deb user/education optional
+++ /dev/null
-shlibs:Depends=libc6 (>= 2.5.0-1), libgcc1 (>= 1:4.2.1), libqt4-core (>= 4.6.2~git20100401), libqt4-gui (>= 4.6.2~git20100401), libqt4-xml (>= 4.6.2~git20100401), libstdc++6 (>= 4.2.1)
+++ /dev/null
-#!/bin/bash
-APPNAME=mdictionary
-
-./setqmake
-dpkg-buildpackage -D -rfakeroot
-rm -rf builddir
-rm build-stamp
-rm -rf debian/$APPNAME
-mv ../${APPNAME}_* packages/
TEMPLATE = subdirs
SUBDIRS = trunk
+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
-rename_plugins.commands = ./rename-plugins "lib/mdictionary"
-QMAKE_EXTRA_TARGETS += check rename_plugins
+++ /dev/null
-#!/bin/bash
-
-path=$1
-
-
-echo $path
-pushd $path
-
-echo *
-
-rm `find . -name "*" -type l`
-
-for pro in *; do
- if [ -e "$pro" ] ; then
- pro=`echo $pro | cut -d"." -f1`
-
- echo " "
- echo " "
- echo $pro
- echo " "
- echo " "
- mv `find . -name "*.so.*" -type f` "$pro.so"
- fi
-done
-popd
-
CommonDictInterface *plugin = qobject_cast<CommonDictInterface*>(pl);
_plugins.append(plugin);
addDictionary(plugin->getNew(0)); //TODO change 0 to real settings
+ //Settings* set = new Settings();
+ //set->setValue("path", "dict2.xdxf");
+ //addDictionary(plugin->getNew(set));
}
}
check.CONFIG = recursive
check.recurse = xdxf
QMAKE_EXTRA_TARGETS += check
+