From e7254223846dbec352628aa9d156e0fe323a4e93 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 27 May 2022 13:27:21 -0500 Subject: New post, asset moving, dir-locals, etc. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 537fabe..328e634 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ UPLOAD_TARGET = hetzner:/var/www/acdw.casa/ SITE_TITLE = acdw.casa INPUT = src +ASSET = asset BUILD = build HTAWK = ./ht.awk @@ -39,7 +40,7 @@ ITMPC = \ done) \ ITMPR = \ - index.html: ${ITMPL} $$(cat ${TPG}); \ + index.html: ${ITMPL} _index.htm ${INCLUDES} $$(cat ${TPG}); \ env HTTMP='$T' HTOUT='\$$@' \ ${HTSH} "${ITMPL}" < /dev/null > '\$$@' @@ -50,7 +51,7 @@ RTMPR = \ ${HTSH} "${RTMPL}" < /dev/null > '\$$@' TMPL = ${PTMPL} ${ITMPL} ${RTMPL} -BUILD_INPUTS = ${INPUT}/* ${TMPL} ${HT} +BUILD_INPUTS = ${INPUT}/* ${ASSET}/* ${TMPL} ${HT} RSYNCEXCLUDE = \ "*.ht" \ @@ -60,7 +61,8 @@ RSYNCEXCLUDE = \ "*.awk" \ "*.bod.txt" \ "tmpl.*" \ - "tmp/" + "tmp/" \ + "tw.txt" RSYNCEXCLUDEFILE = ${BUILD}/.rsync-exclude RSYNC = rsync -auvz --exclude-from="${RSYNCEXCLUDEFILE}" --delete -- cgit 1.4.1-21-gabe81