Stub doc/handbook/meson.build if missing in GNUnet tarball

This commit is contained in:
nocci 2025-12-12 11:09:20 +00:00
parent 29aacb1e60
commit 3a561ce9d0

View file

@ -53,6 +53,12 @@ RUN set -e; \
git clone --depth 1 --branch "${GNUNET_REF}" https://git.taler.net/gnunet.git gnunet; \
GNUNET_DIR="gnunet"; \
fi; \
if [ ! -f "${GNUNET_DIR}/doc/handbook/meson.build" ]; then \
echo "Creating stub doc/handbook/meson.build to satisfy Meson"; \
mkdir -p "${GNUNET_DIR}/doc/handbook"; \
echo "# auto-generated stub to skip handbook build" > "${GNUNET_DIR}/doc/handbook/meson.build"; \
echo "subdir_done()" >> "${GNUNET_DIR}/doc/handbook/meson.build"; \
fi; \
cd "${GNUNET_DIR}" && ./bootstrap && \
./configure --prefix=/usr && make -j$(nproc) && make install