From 1ba20f93131caeb2b964f016c0086d8fb39f60b0 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 25 May 2022 15:53:21 -0500 Subject: Update footer -- and properly integrate it into Make --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e7c5863..537fabe 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,8 @@ HTSH = ./ht.sh HTMK = ht.mk HT = ${HTAWK} ${HTSH} ${HTMK} +INCLUDES = _head.htm _foot.htm + T = .tmp TMK = $T/mk TPG = $T/ps @@ -22,7 +24,7 @@ PTMPC = \ $$(title) \ $$(body) PTMPR = \ - $$hb: $$ht ; \ + $$hb: $$ht ${INCLUDES} ; \ ${HTAWK} < '$$ht' | \ env HTTMP='$T' HTENV='$T/\$$<.env' HTOUT='\$$@' HTBOD='\$$<.bod.txt' \ ${HTSH} '${PTMPL}' > '\$$@' -- cgit 1.4.1-21-gabe81