X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=mdictionary.pro;h=477639b9dd0e9651118c522945b2c239de0bb861;hb=dc2333ed96ec3902bc481ccfddd90e9fcde8ae1a;hp=f741748433606739e3ea05cded7e3e3567b085cc;hpb=df6ef20c07ccd3b478aaeb7e9c4222582b2e8209;p=mdictionary diff --git a/mdictionary.pro b/mdictionary.pro index f741748..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 +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)