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 /Makefile | |
parent | Add link (oops) (diff) | |
download | hat-trick-1ba20f93131caeb2b964f016c0086d8fb39f60b0.tar.gz hat-trick-1ba20f93131caeb2b964f016c0086d8fb39f60b0.zip |
Update footer -- and properly integrate it into Make
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 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}' > '\$$@' |