[gimp-web/oscp] testing.docs.gimp.org: fix the docs build.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/oscp] testing.docs.gimp.org: fix the docs build.
- Date: Fri, 25 Feb 2022 14:23:18 +0000 (UTC)
commit 3cb397372488e0b79f4b4f9e16e4b3a93ea1ea46
Author: Jehan <jehan girinstud io>
Date: Fri Feb 25 14:21:04 2022 +0100
testing.docs.gimp.org: fix the docs build.
We need to set up the BUILD_DIR to the current directory, otherwise it
will create it to the root, where we don't have writing permissions.
This should fix:
> -- Creating directories
> mkdir: cannot create directory '/html': Permission denied
Also even though it might have been possible in a container, this is not
a great idea anyway to output anything at root. Instead let's make it
build in ./html/.
testing.docs.gimp.org/docs_build/entrypoint.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/testing.docs.gimp.org/docs_build/entrypoint.sh b/testing.docs.gimp.org/docs_build/entrypoint.sh
index 22d7c565..a64d153a 100755
--- a/testing.docs.gimp.org/docs_build/entrypoint.sh
+++ b/testing.docs.gimp.org/docs_build/entrypoint.sh
@@ -8,7 +8,7 @@ BUILD_PATH=/tmp/gimp-help
git clone --depth 1 -b gimp-help-${RELEASE//\./\-} https://gitlab.gnome.org/GNOME/gimp-help.git ${BUILD_PATH}
cd ${BUILD_PATH} && ./autogen.sh --without-gimp --prefix=${BUILD_PATH}/build && make && make install
-cd ${BUILD_PATH}/web && make
+cd ${BUILD_PATH}/web && BUILD_DIR='.' make
if [ -d "/docs_data/docs/${RELEASE}" ]; then
rsync -vlr ${BUILD_PATH}/build/share/gimp/2.0/help/ /docs_data/docs/${RELEASE}/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]