diff options
author | Case Duckworth | 2022-05-25 15:53:21 -0500 |
---|---|---|
committer | Case Duckworth | 2022-05-25 15:53:21 -0500 |
commit | 1ba20f93131caeb2b964f016c0086d8fb39f60b0 (patch) | |
tree | 41387055f21d834891748c7f678128351a1e8e8b | |
parent | Add link (oops) (diff) | |
download | hat-trick-1ba20f93131caeb2b964f016c0086d8fb39f60b0.tar.gz hat-trick-1ba20f93131caeb2b964f016c0086d8fb39f60b0.zip |
Update footer -- and properly integrate it into Make
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | src/_foot.htm | 2 |
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 | |||
13 | HTMK = ht.mk | 13 | HTMK = ht.mk |
14 | HT = ${HTAWK} ${HTSH} ${HTMK} | 14 | HT = ${HTAWK} ${HTSH} ${HTMK} |
15 | 15 | ||
16 | INCLUDES = _head.htm _foot.htm | ||
17 | |||
16 | T = .tmp | 18 | T = .tmp |
17 | TMK = $T/mk | 19 | TMK = $T/mk |
18 | TPG = $T/ps | 20 | TPG = $T/ps |
@@ -22,7 +24,7 @@ PTMPC = \ | |||
22 | <title>$$(title)</title> \ | 24 | <title>$$(title)</title> \ |
23 | $$(body) | 25 | $$(body) |
24 | PTMPR = \ | 26 | PTMPR = \ |
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 "– $(command date +%Y)"; fi) | 4 | $(if [ $(command date +%Y) -gt 2022 ]; then print "– $(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> |