X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mdictionary.pro;h=477639b9dd0e9651118c522945b2c239de0bb861;hb=69f71247d568d5f1f4a9b294757c7023cc0ba290;hp=42d7ccb2d7314a4d63f087b831e3e9342c44c36f;hpb=849177861d4fd39904e1121e55f5896a70b1d6f6;p=mdictionary diff --git a/mdictionary.pro b/mdictionary.pro index 42d7ccb..477639b 100644 --- a/mdictionary.pro +++ b/mdictionary.pro @@ -1,25 +1,24 @@ -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.CONFIG += recursive +check.recurse = src +QMAKE_EXTRA_TARGETS += check -check.target = check -check.CONFIG = recursive -check.recurse = trunk -rename_plugins.command = scripts/rename-plugins $$LIBDIR -rename_plugins.path = $$LIBDIR +include (doc/doc.pri) +QMAKE_EXTRA_TARGETS += doc +message("Enabled sources: "$$ENABLED_SRC) +message("Enabled plugins: "$$ENABLED_PLUGINS) -QMAKE_EXTRA_TARGETS += check +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)