From 30373f4b675c68a3a4cab7650785881b0d444d0f Mon Sep 17 00:00:00 2001 From: Atlas Cove Date: Thu, 9 Feb 2023 14:19:42 +0000 Subject: [PATCH] File structuring --- lib.m4 => m4/lib.m4 | 0 main.html.m4 => m4/main.html.m4 | 2 +- render.sh | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename lib.m4 => m4/lib.m4 (100%) rename main.html.m4 => m4/main.html.m4 (93%) diff --git a/lib.m4 b/m4/lib.m4 similarity index 100% rename from lib.m4 rename to m4/lib.m4 diff --git a/main.html.m4 b/m4/main.html.m4 similarity index 93% rename from main.html.m4 rename to m4/main.html.m4 index bd9408f..1bf4ff0 100644 --- a/main.html.m4 +++ b/m4/main.html.m4 @@ -1,6 +1,6 @@ dnl template.m4.html v1.2 dnl Part of the tape-and-string suite used to construct the website -include(`lib.m4')dnl +include(`m4/lib.m4')dnl diff --git a/render.sh b/render.sh index 2aeed09..e0361e1 100755 --- a/render.sh +++ b/render.sh @@ -52,9 +52,9 @@ for i in ${doc[@]}; do o="${i/in/out}" echo "$i => $o" if test -z "${title[$i]}"; then - tape $i | m4 main.html.m4 > ${o%.*}.html + tape $i | m4 m4/main.html.m4 > ${o%.*}.html else - tape $i | m4 -DTITLE="${title[$i]}" main.html.m4 > ${o%.*}.html + tape $i | m4 -DTITLE="${title[$i]}" m4/main.html.m4 > ${o%.*}.html fi done inf "Rendering sass files..."