about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-05-25 15:53:21 -0500
committerCase Duckworth2022-05-25 15:53:21 -0500
commit1ba20f93131caeb2b964f016c0086d8fb39f60b0 (patch)
tree41387055f21d834891748c7f678128351a1e8e8b
parentAdd link (oops) (diff)
downloadhat-trick-1ba20f93131caeb2b964f016c0086d8fb39f60b0.tar.gz
hat-trick-1ba20f93131caeb2b964f016c0086d8fb39f60b0.zip
Update footer -- and properly integrate it into Make
-rw-r--r--Makefile4
-rw-r--r--src/_foot.htm2
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile index e7c5863..537fabe 100644 --- a/Makefile +++ b/Makefile
@@ -13,6 +13,8 @@ HTSH = ./ht.sh
13HTMK = ht.mk 13HTMK = ht.mk
14HT = ${HTAWK} ${HTSH} ${HTMK} 14HT = ${HTAWK} ${HTSH} ${HTMK}
15 15
16INCLUDES = _head.htm _foot.htm
17
16T = .tmp 18T = .tmp
17TMK = $T/mk 19TMK = $T/mk
18TPG = $T/ps 20TPG = $T/ps
@@ -22,7 +24,7 @@ PTMPC = \
22 <title>$$(title)</title> \ 24 <title>$$(title)</title> \
23 $$(body) 25 $$(body)
24PTMPR = \ 26PTMPR = \
25 $$hb: $$ht ; \ 27 $$hb: $$ht ${INCLUDES} ; \
26 ${HTAWK} < '$$ht' | \ 28 ${HTAWK} < '$$ht' | \
27 env HTTMP='$T' HTENV='$T/\$$<.env' HTOUT='\$$@' HTBOD='\$$<.bod.txt' \ 29 env HTTMP='$T' HTENV='$T/\$$<.env' HTOUT='\$$@' HTBOD='\$$<.bod.txt' \
28 ${HTSH} '${PTMPL}' > '\$$@' 30 ${HTSH} '${PTMPL}' > '\$$@'
diff --git a/src/_foot.htm b/src/_foot.htm index 0453b0b..8e1ee54 100644 --- a/src/_foot.htm +++ b/src/_foot.htm
@@ -4,7 +4,7 @@
4 $(if [ $(command date +%Y) -gt 2022 ]; then print "&ndash; $(command date +%Y)"; fi) 4 $(if [ $(command date +%Y) -gt 2022 ]; then print "&ndash; $(command date +%Y)"; fi)
5 C. Duckworth</span> under the 5 C. Duckworth</span> under the
6 <a href="gcl.html">Good Choices License</a>. 6 <a href="gcl.html">Good Choices License</a>.
7 (<a href="https://git.acdw.net/hat-trick.git">source</a>) 7 (<a href="https://git.acdw.net/hat-trick/">source</a>)
8</footer> 8</footer>
9</body> 9</body>
10</html> 10</html>