From 0150994cfd3260afada9559c8f524fdf217871df Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 14 Oct 2025 21:22:41 +0200 Subject: Check in pre-processed m4 files, skip m4 step in build --- build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index ca598e9..b0ebde7 100755 --- a/build.sh +++ b/build.sh @@ -15,6 +15,8 @@ recursivebuild() { done } +# This function is currently unused, but we keep it in case we need to +# preprocess some m4 files. mdpreprocess() { file="$1" if [ "$(echo "$file" | sed 's/.*\.//')" = "m4" ]; then @@ -31,7 +33,12 @@ copyfile() { ind=$dest/index.html extension=$(echo "$file" | sed 's/.*\.//') case "$extension" in - md|m4) + # m4 preprocess is currently disabled + #m4) + # noext=$(echo "$file" | sed 's/\..*//') + # mdpreprocess "$file" > $noext.md + # ;; + md) t="$(markdowntitle "$file")" sed "s/TITLE/$t/" < top.html > "$ind" mdpreprocess "$file" | \ -- cgit v1.3