File 0006-Build-script-for-docs.patch of Package wangemu

From 30e30d5d59cd9437e76b862c6e1687c4b5fd67f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@gmail.com>
Date: Mon, 13 Oct 2025 15:37:34 +0200
Subject: [PATCH 06/11] Build script for docs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
---
 build_html/build_html.sh | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100755 build_html/build_html.sh

diff --git a/build_html/build_html.sh b/build_html/build_html.sh
new file mode 100755
index 0000000..df11899
--- /dev/null
+++ b/build_html/build_html.sh
@@ -0,0 +1,8 @@
+# build the wang2200.org website via the Template Toolkit templating system.
+# run "build_html --all" to force regeneration of everything
+
+echo -------- creating pc help files --------
+touch ~/.ttreerc
+ttree --binmode=1 --eval_perl --define os=pc  --dest=../html     --file=./ttree_html.cfg
+echo Copying image files
+cp -a img-pc ../html/img
-- 
2.51.0

openSUSE Build Service is sponsored by