contrib/jenkins.sh: fix 'publish' target

Executing 'maintainer-clean' before 'publish' makes the later fail:

  + make -C /build/doc/manuals publish
  make: Entering directory '/build/doc/manuals'
  make: Leaving directory '/build/doc/manuals'
  make: *** No rule to make target 'publish'.  Stop.

Execute 'maintainer-clean' after 'publish', like other projects do.

Change-Id: I16cc855ee05726938e1542f481488364c5e47a95
Fixes: I2fe0de9bcb372333da1e5c81712a511cda34858c
This commit is contained in:
Vadim Yanitskiy 2022-08-30 00:08:06 +07:00
parent 8d70759ab7
commit d5ea7f765e
1 changed files with 1 additions and 1 deletions

View File

@ -53,10 +53,10 @@ $MAKE $PARALLEL_MAKE
DISTCHECK_CONFIGURE_FLAGS="--enable-external-tests $CONFIG" \
$MAKE $PARALLEL_MAKE distcheck \
|| cat-testlogs.sh
$MAKE $PARALLEL_MAKE maintainer-clean
if [ "$WITH_MANUALS" = "1" ] && [ "$PUBLISH" = "1" ]; then
make -C "$base/doc/manuals" publish
fi
$MAKE $PARALLEL_MAKE maintainer-clean
osmo-clean-workspace.sh