laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-e1d/+/30024 )
Change subject: jenkins.sh: Support for building + publishing the manual
......................................................................
jenkins.sh: Support for building + publishing the manual
Change-Id: Ic399662e6ac5e5e7f999e6e7127df9a9580a0627
---
M contrib/jenkins.sh
1 file changed, 12 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index a6ca30e..6cac702 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -29,6 +29,9 @@
# Additional configure options and depends
CONFIG=""
+if [ "$WITH_MANUALS" = "1" ]; then
+ CONFIG="--enable-manuals"
+fi
set +x
echo
@@ -43,7 +46,14 @@
./configure --enable-sanitize --enable-werror $CONFIG
$MAKE $PARALLEL_MAKE
$MAKE check || cat-testlogs.sh
-DISTCHECK_CONFIGURE_FLAGS="$CONFIG" $MAKE distcheck || cat-testlogs.sh
-$MAKE maintainer-clean
+# Do distcheck with --disable-manuals as workaround, because it doesn't build
+# the usermanual pdf for some reason and then fails at "make install" because
+# it doesn't exist. Spent a lot of time on debugging it, not worth fixing now.
+DISTCHECK_CONFIGURE_FLAGS="$CONFIG --disable-manuals" $MAKE distcheck ||
cat-testlogs.sh
+if [ "$WITH_MANUALS" = "1" ] && [ "$PUBLISH" =
"1" ]; then
+ make -C "$base/doc/manuals" publish
+fi
+
+$MAKE maintainer-clean
osmo-clean-workspace.sh
--
To view, visit
https://gerrit.osmocom.org/c/osmo-e1d/+/30024
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Ic399662e6ac5e5e7f999e6e7127df9a9580a0627
Gerrit-Change-Number: 30024
Gerrit-PatchSet: 7
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged