X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mdictionary.pro;h=b30dbc5d0f40b9d0dfa0ce40e31d5f890f4f9fda;hb=HEAD;hp=42d7ccb2d7314a4d63f087b831e3e9342c44c36f;hpb=849177861d4fd39904e1121e55f5896a70b1d6f6;p=mdictionary diff --git a/mdictionary.pro b/mdictionary.pro index 42d7ccb..b30dbc5 100644 --- a/mdictionary.pro +++ b/mdictionary.pro @@ -1,25 +1,25 @@ -QMAKEVERSION = $$[QMAKE_VERSION] -ISQT4 = $$find(QMAKEVERSION, ^[2-9]) -isEmpty( ISQT4 ) { -error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4"); -} - -QT += sql TEMPLATE = subdirs -SUBDIRS = trunk -TRANSLATIONS += dict_pl.ts dict_en.ts +SUBDIRS = src +CONFIG += ordered +include (mdictionary.pri) -BINDIR = $$PREFIX/bin -LIBDIR = $$PREFIX/lib/$${MDICT_APPNAME} -DATADIR =$$PREFIX/share -check.target = check -check.CONFIG = recursive -check.recurse = trunk +check.CONFIG += recursive +check.recurse = src +QMAKE_EXTRA_TARGETS += check -rename_plugins.command = scripts/rename-plugins $$LIBDIR -rename_plugins.path = $$LIBDIR +include (doc/doc.pri) +QMAKE_EXTRA_TARGETS += doc -QMAKE_EXTRA_TARGETS += check +message("Enabled sources: "$$ENABLED_SRC) +message("Enabled plugins: "$$ENABLED_PLUGINS) + +message("Install prefix: "$$INSTALL_PREFIX) +message("Binary directory: "$$BIN_DIR) +message("Data directory: "$$DATA_DIR) +message("Plugins directory: "$$PLUGINS_DIR) +message("Documentation directory: "$$DOCS_DIR) + +#message("Qml directory: "$$QMLS_DIR)