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..."