aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-x.fmsbw/10-freebsd14-msys-sciteco2
-rw-r--r--.github/workflows/nightly.yml2
-rwxr-xr-xwww/build.tes21
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 <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