From 62a5600051b6f864267f64fd6b6de81a5b274c20 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 22 May 2017 19:32:06 +0200 Subject: contrib/jenkins: don't package /share/doc/libosmocore Change-Id: Ibd2674c3f65f820a72d77c40a9e9df3e094bb41d --- contrib/jenkins-build-osmo-bts-sysmo.sh | 4 ++++ contrib/jenkins-build-osmo-bts-trx.sh | 4 ++++ contrib/jenkins-build-osmo-nitb.sh | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/contrib/jenkins-build-osmo-bts-sysmo.sh b/contrib/jenkins-build-osmo-bts-sysmo.sh index d089eb7..3fb5c0b 100755 --- a/contrib/jenkins-build-osmo-bts-sysmo.sh +++ b/contrib/jenkins-build-osmo-bts-sysmo.sh @@ -67,6 +67,10 @@ for dep in $deps; do make install done +# don't package documentation -- the libosmocore docs can be up to 16 Mb large, +# a significant amount compared to the binaries +rm -rf "$prefix_real/share/doc/libosmocore" + # build the archive that is going to be copied to the tester and then to the BTS rm "$base"/*.tgz "$base"/*.md5 || true cd "$prefix_real" diff --git a/contrib/jenkins-build-osmo-bts-trx.sh b/contrib/jenkins-build-osmo-bts-trx.sh index 652913f..b408852 100755 --- a/contrib/jenkins-build-osmo-bts-trx.sh +++ b/contrib/jenkins-build-osmo-bts-trx.sh @@ -59,6 +59,10 @@ for dep in $deps; do make install done +# don't package documentation -- the libosmocore docs can be up to 16 Mb large, +# a significant amount compared to the binaries +rm -rf "$prefix/share/doc/libosmocore" + # build the archive that is going to be copied to the tester rm "$base"/*.tgz "$base"/*.md5 || true cd "$prefix" diff --git a/contrib/jenkins-build-osmo-nitb.sh b/contrib/jenkins-build-osmo-nitb.sh index 6a2420b..e4e4e32 100755 --- a/contrib/jenkins-build-osmo-nitb.sh +++ b/contrib/jenkins-build-osmo-nitb.sh @@ -59,6 +59,10 @@ for dep in $deps; do make install done +# don't package documentation -- the libosmocore docs can be up to 16 Mb large, +# a significant amount compared to the binaries +rm -rf "$prefix/share/doc/libosmocore" + # build the archive that is going to be copied to the tester rm "$base"/*.tgz "$base"/*.md5 || true cd "$prefix" -- cgit v1.2.3