about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCase Duckworth2022-05-27 13:27:21 -0500
committerCase Duckworth2022-05-27 13:27:21 -0500
commite7254223846dbec352628aa9d156e0fe323a4e93 (patch)
tree8c02009b7981a1182b952ccf307b52f1700bb5b3 /Makefile
parentUpdate footer -- and properly integrate it into Make (diff)
downloadhat-trick-e7254223846dbec352628aa9d156e0fe323a4e93.tar.gz
hat-trick-e7254223846dbec352628aa9d156e0fe323a4e93.zip
New post, asset moving, dir-locals, etc.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
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/
6SITE_TITLE = acdw.casa 6SITE_TITLE = acdw.casa
7 7
8INPUT = src 8INPUT = src
9ASSET = asset
9BUILD = build 10BUILD = build
10 11
11HTAWK = ./ht.awk 12HTAWK = ./ht.awk
@@ -39,7 +40,7 @@ ITMPC = \
39 done) \ 40 done) \
40 </ul> 41 </ul>
41ITMPR = \ 42ITMPR = \
42 index.html: ${ITMPL} $$(cat ${TPG}); \ 43 index.html: ${ITMPL} _index.htm ${INCLUDES} $$(cat ${TPG}); \
43 env HTTMP='$T' HTOUT='\$$@' \ 44 env HTTMP='$T' HTOUT='\$$@' \
44 ${HTSH} "${ITMPL}" < /dev/null > '\$$@' 45 ${HTSH} "${ITMPL}" < /dev/null > '\$$@'
45 46
@@ -50,7 +51,7 @@ RTMPR = \
50 ${HTSH} "${RTMPL}" < /dev/null > '\$$@' 51 ${HTSH} "${RTMPL}" < /dev/null > '\$$@'
51 52
52TMPL = ${PTMPL} ${ITMPL} ${RTMPL} 53TMPL = ${PTMPL} ${ITMPL} ${RTMPL}
53BUILD_INPUTS = ${INPUT}/* ${TMPL} ${HT} 54BUILD_INPUTS = ${INPUT}/* ${ASSET}/* ${TMPL} ${HT}
54 55
55RSYNCEXCLUDE = \ 56RSYNCEXCLUDE = \
56 "*.ht" \ 57 "*.ht" \
@@ -60,7 +61,8 @@ RSYNCEXCLUDE = \
60 "*.awk" \ 61 "*.awk" \
61 "*.bod.txt" \ 62 "*.bod.txt" \
62 "tmpl.*" \ 63 "tmpl.*" \
63 "tmp/" 64 "tmp/" \
65 "tw.txt"
64RSYNCEXCLUDEFILE = ${BUILD}/.rsync-exclude 66RSYNCEXCLUDEFILE = ${BUILD}/.rsync-exclude
65RSYNC = rsync -auvz --exclude-from="${RSYNCEXCLUDEFILE}" --delete 67RSYNC = rsync -auvz --exclude-from="${RSYNCEXCLUDEFILE}" --delete
66 68