From e21caf2c7e83b90f43bb8bddf57cbc43bd2188e1 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 22 Sep 2025 19:38:24 +0200 Subject: website: allow build.tes to be called from out-of-tree builds This hopefully fixes the 10-freebsd14-msys-sciteco CI job. --- .fmsbw/10-freebsd14-msys-sciteco | 2 +- .github/workflows/nightly.yml | 2 +- www/build.tes | 21 +++++++++++++-------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.fmsbw/10-freebsd14-msys-sciteco b/.fmsbw/10-freebsd14-msys-sciteco index b3626c6..a7ce73f 100755 --- a/.fmsbw/10-freebsd14-msys-sciteco +++ b/.fmsbw/10-freebsd14-msys-sciteco @@ -47,7 +47,7 @@ gmake install # Build and deploy website cd ../www -sciteco -m build.tes +sciteco -m build.tes ../build-freebsd cp *.html /opt/htdocs/ cd .. cp ico/sciteco.ico /opt/htdocs/graphics diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 761ded0..2e494e4 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -135,7 +135,7 @@ jobs: - name: Install lowdown (Markdown processor) run: brew install lowdown - name: Generate website - run: cd www && sciteco -m build.tes + run: cd www && sciteco -m build.tes .. - name: Publish Website run: | cd www diff --git a/www/build.tes b/www/build.tes index bf78692..60baa96 100755 --- a/www/build.tes +++ b/www/build.tes @@ -3,10 +3,11 @@ * Generate the website at https://sciteco.fmsbw.de * This reuses content from Markdown and grohtml-generated documents. * Everything else is cross-linked to Sourceforge. - * It must currently be run from the www/ subdirectory of an in-tree-build. - * The HTML manuals must be in ../doc. + * It must currently be run from the www/ subdirectory of the source tree. + * sciteco -m build.tes * Required tools: lowdown *! +[[1]][builddir] !* * Perhaps everything should be white on black, like in a terminal? @@ -43,7 +44,7 @@ sciteco(1) / sciteco(7) / Wiki / - git.fmsbw.de + Git
} @@ -82,14 +83,18 @@ EW

This documents the project's HEAD revision.

 -EB../doc/sciteco.1.html +!* + * FIXME: Support out-of-tree builds. + * Perhaps pass in the biuld directory. + *! +EBQ[builddir]/doc/sciteco.1.html SS

S .,ZK M[footer] EWsciteco.1.html -EB../doc/sciteco.7.html +EBQ[builddir]/doc/sciteco.7.html SS

S .,ZK @@ -101,21 +106,21 @@ EWsciteco.7.html * but still postprocessed for consinstency. *! -EB../doc/grosciteco.tes.1.html +EBQ[builddir]/doc/grosciteco.tes.1.html SS

S .,ZK M[footer] EWgrosciteco.tes.1.html -EB../doc/tedoc.tes.1.html +EBQ[builddir]/doc/tedoc.tes.1.html SS

S .,ZK M[footer] EWtedoc.tes.1.html -EB../doc/tutorial.html +EBQ[builddir]/doc/tutorial.html SS

S .,ZK -- cgit v1.2.3