<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12066">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">contrib/jenkins.sh: build and publish manuals<br><br>Install osmo-gsm-manuals like any other dependency. Add the bin subdir<br>of the installed files to PATH, so osmo-gsm-manuals-check-depends can<br>be used by ./configure --enable-manuals.<br><br>Add optional --publish parameter to contrib/jenkins.sh to be used by<br>the master-builds jenkins job. It will automatically upload the newly<br>generated PDFs when commits land in master.<br><br>Related: OS#3385<br>Change-Id: Ic45322c809f9f65d0fd24b828dab0cd929fa6267<br>---<br>M contrib/jenkins.sh<br>1 file changed, 17 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/66/12066/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh</span><br><span>index 64663d6..00bd0f6 100755</span><br><span>--- a/contrib/jenkins.sh</span><br><span>+++ b/contrib/jenkins.sh</span><br><span>@@ -9,6 +9,10 @@</span><br><span> </span><br><span> set -ex</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+# gerrit-verifications.yml: leaves this empty</span><br><span style="color: hsl(120, 100%, 40%);">+# master-builds.yml: sets this to "--publish"</span><br><span style="color: hsl(120, 100%, 40%);">+publish="$1"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> base="$PWD"</span><br><span> deps="$base/deps"</span><br><span> inst="$deps/install"</span><br><span>@@ -24,6 +28,7 @@</span><br><span> </span><br><span> export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"</span><br><span> export LD_LIBRARY_PATH="$inst/lib"</span><br><span style="color: hsl(120, 100%, 40%);">+export PATH="$inst/bin:$PATH"</span><br><span> </span><br><span> osmo-build-dep.sh libosmo-abis</span><br><span> osmo-build-dep.sh libosmo-netif</span><br><span>@@ -40,6 +45,13 @@</span><br><span>    enable_werror="--enable-werror"</span><br><span> fi</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+# Additional configure options and depends</span><br><span style="color: hsl(120, 100%, 40%);">+CONFIG=""</span><br><span style="color: hsl(120, 100%, 40%);">+if [ "$WITH_MANUALS" = "True" ]; then</span><br><span style="color: hsl(120, 100%, 40%);">+       osmo-build-dep.sh osmo-gsm-manuals</span><br><span style="color: hsl(120, 100%, 40%);">+    CONFIG="--enable-manuals"</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> set +x</span><br><span> echo</span><br><span> echo</span><br><span>@@ -50,7 +62,7 @@</span><br><span> </span><br><span> cd "$base"</span><br><span> autoreconf --install --force</span><br><span style="color: hsl(0, 100%, 40%);">-./configure --enable-sanitize $enable_werror $IU --enable-external-tests</span><br><span style="color: hsl(120, 100%, 40%);">+./configure --enable-sanitize $enable_werror $IU --enable-external-tests $CONFIG</span><br><span> $MAKE $PARALLEL_MAKE</span><br><span> LD_LIBRARY_PATH="$inst/lib" $MAKE check \</span><br><span>   || cat-testlogs.sh</span><br><span>@@ -59,4 +71,8 @@</span><br><span>   $MAKE distcheck \</span><br><span>   || cat-testlogs.sh</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+if [ "$WITH_MANUALS" = "True" ] && [ "$publish" = "--publish" ]; then</span><br><span style="color: hsl(120, 100%, 40%);">+    make -C "$base/doc/manuals" publish</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> osmo-clean-workspace.sh</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12066">change 12066</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12066"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sgsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ic45322c809f9f65d0fd24b828dab0cd929fa6267 </div>
<div style="display:none"> Gerrit-Change-Number: 12066 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>