[packages/poco] build only release targets
glen
glen at pld-linux.org
Thu Dec 17 13:43:06 CET 2015
commit 35e7d1ba15a1ab87bd6dee6d0c8d8e0be85f70cf
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Dec 17 14:43:01 2015 +0200
build only release targets
poco.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/poco.spec b/poco.spec
index b3e865f..28a3899 100644
--- a/poco.spec
+++ b/poco.spec
@@ -268,6 +268,9 @@ application testing purposes.
%{__rm} XML/src/xmltok_impl.h
%{__rm} XML/src/xmltok_ns.c
+# cleanup, makes easier to dig trough bbuild system
+find -regextype posix-extended -regex '.*\.(vc.?proj|sln|progen|cmd)' | xargs -r rm -v
+
%build
# NOTE: not autoconf based configure
./configure \
@@ -279,7 +282,8 @@ application testing purposes.
--library-path=%{_libdir}/mysql
# POCO_BASE needs to be absolute real path (symlinks confuse it)
-%{__make} -j1 \
+%{__make} -j1 poco \
+ DEFAULT_TARGET=all_release \
POCO_BASE=$(readlink -f $(pwd)) \
CC="%{__cc}" \
CXX="%{__cxx}" \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/poco.git/commitdiff/35e7d1ba15a1ab87bd6dee6d0c8d8e0be85f70cf
More information about the pld-cvs-commit
mailing list