Using CONFIG keys in package scripts.
--HG-- branch : develop
This commit is contained in:
parent
06d88d66e5
commit
d0bdd46d77
2
dist/debian/rules
vendored
2
dist/debian/rules
vendored
|
@ -18,7 +18,7 @@
|
|||
mkdir -p builddir
|
||||
|
||||
builddir/Makefile: builddir
|
||||
cd builddir && qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) CONFIG+=no_ccache ../$(APPNAME).pro -r
|
||||
cd builddir && qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r
|
||||
build: build-stamp
|
||||
build-stamp: builddir/Makefile
|
||||
dh_testdir
|
||||
|
|
|
@ -48,7 +48,7 @@ src_configure() {
|
|||
fi
|
||||
done
|
||||
|
||||
eqmake5 LOCALES="${locales}" CONFIG+=noRunPath CONFIG+=no_ccache CONFIG+=noDebugSymbols Valentina.pro -r
|
||||
eqmake5 LOCALES="${locales}" "CONFIG += noTests noRunPath no_ccache noDebugSymbols" Valentina.pro -r
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
|
4
dist/rpm/valentina.spec
vendored
4
dist/rpm/valentina.spec
vendored
|
@ -77,9 +77,9 @@ a unique pattern making tool.
|
|||
|
||||
%build
|
||||
%if 0%{?suse_version} >= 1315
|
||||
qmake-qt5 PREFIX=%{_prefix} LRELEASE=lrelease-qt5 Valentina.pro -r CONFIG+=no_ccache
|
||||
qmake-qt5 PREFIX=%{_prefix} LRELEASE=lrelease-qt5 Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
||||
%else
|
||||
qmake-qt5 PREFIX=%{_prefix} Valentina.pro -r CONFIG+=no_ccache
|
||||
qmake-qt5 PREFIX=%{_prefix} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
||||
%endif
|
||||
%{__make} %{?jobs:-j %jobs}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user