Commit b8e942a7 authored by mardy's avatar mardy

Build: make tools optional

Update the .spec file so that they are still built in Mer.
parent d3d16f47
TEMPLATE=subdirs
SUBDIRS=src tests tools
SUBDIRS=src tests
CONFIG(build-tools) {
SUBDIRS += tools
tools.depends=src
}
tests.depends=src
tools.depends=src
OTHER_FILES+=rpm/buteo-sync-plugin-carddav.spec
......@@ -83,7 +83,7 @@ This package contains unit tests for the CardDAV Buteo sync plugin.
%setup -q -n %{name}-%{version}
%build
%qmake5 "DEFINES+=BUTEO_OUT_OF_PROCESS_SUPPORT"
%qmake5 "DEFINES+=BUTEO_OUT_OF_PROCESS_SUPPORT" "CONFIG+=build-tools"
make %{?jobs:-j%jobs}
%pre
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment