diff options
author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-09-22 19:38:24 +0200 |
---|---|---|
committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-09-22 20:36:27 +0200 |
commit | e21caf2c7e83b90f43bb8bddf57cbc43bd2188e1 (patch) | |
tree | ec597feecfaa5c622ce97db50029ea51bf3245a6 /www | |
parent | 9eebe2bc2bde06c718390bc1032fa28164fce9c2 (diff) | |
download | sciteco-e21caf2c7e83b90f43bb8bddf57cbc43bd2188e1.tar.gz |
website: allow build.tes to be called from out-of-tree builds
This hopefully fixes the 10-freebsd14-msys-sciteco CI job.
Diffstat (limited to 'www')
-rwxr-xr-x | www/build.tes | 21 |
1 files changed, 13 insertions, 8 deletions
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 <builddir> * Required tools: lowdown *! +[[1]][builddir] !* * Perhaps everything should be white on black, like in a terminal? @@ -43,7 +44,7 @@ <span class="nf nf-fa-book_atlas"></span> <a href="sciteco.1.html"><b>sciteco</b>(1)</a> / <span class="nf nf-fa-book_bible"></span> <a href="sciteco.7.html"><b>sciteco</b>(7)</a> / <span class="nf nf-md-alpha_w_box"></span> <a href="https://github.com/rhaberkorn/sciteco/wiki" target=_blank>Wiki</a> / - <span class="nf nf-dev-git"></span> <a href="https://git.fmsbw.de/sciteco" target=_blank>git.fmsbw.de</a> + <span class="nf nf-dev-git"></span> <a href="https://git.fmsbw.de/sciteco" target=_blank>Git</a> </tt> <hr> } @@ -82,14 +83,18 @@ EW <p class="nf nf-fa-warning"> This documents the project's HEAD revision.</p> <div class="grohtml"> -EB../doc/sciteco.1.html +!* + * FIXME: Support out-of-tree builds. + * Perhaps pass in the biuld directory. + *! +EBQ[builddir]/doc/sciteco.1.html S<body>S<h1 L 0,.K [title]sciteco(1) M[header] G[grohtml-header] FD<hr>S</body> .,ZK M[footer] EWsciteco.1.html -EB../doc/sciteco.7.html +EBQ[builddir]/doc/sciteco.7.html S<body>S<h1 L 0,.K [title]sciteco(7) M[header] G[grohtml-header] FD<hr>S</body> .,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 S<body>S<h1 L 0,.K [title]grosciteco.tes(1) M[header] G[grohtml-header] FD<hr>S</body> .,ZK M[footer] EWgrosciteco.tes.1.html -EB../doc/tedoc.tes.1.html +EBQ[builddir]/doc/tedoc.tes.1.html S<body>S<h1 L 0,.K [title]tedoc.tes(1) M[header] G[grohtml-header] FD<hr>S</body> .,ZK M[footer] EWtedoc.tes.1.html -EB../doc/tutorial.html +EBQ[builddir]/doc/tutorial.html S<body>S<h1 L 0,.K [title]Tutorial M[header] G[grohtml-header] FD<hr>S</body> .,ZK |