diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile index 168fac8..87e730d 100644 --- a/Makefile +++ b/Makefile | |||
@@ -7,7 +7,6 @@ SITE_TITLE = acdw.casa | |||
7 | 7 | ||
8 | INPUT = src | 8 | INPUT = src |
9 | BUILD = build | 9 | BUILD = build |
10 | LASTB = .last_build | ||
11 | 10 | ||
12 | HTAWK = ./ht.awk | 11 | HTAWK = ./ht.awk |
13 | HTSH = ./ht.sh | 12 | HTSH = ./ht.sh |
@@ -54,12 +53,11 @@ RSYNCEXCLUDE = \ | |||
54 | "*.bod.txt" \ | 53 | "*.bod.txt" \ |
55 | "tmp/" | 54 | "tmp/" |
56 | RSYNCEXCLUDEFILE = ${BUILD}/.rsync-exclude | 55 | RSYNCEXCLUDEFILE = ${BUILD}/.rsync-exclude |
57 | RSYNC = rsync -avz --exclude-from="${RSYNCEXCLUDEFILE}" --delete | 56 | RSYNC = rsync -auvz --exclude-from="${RSYNCEXCLUDEFILE}" --delete |
58 | 57 | ||
59 | #################### | 58 | #################### |
60 | 59 | ||
61 | ${BUILD}: ${BUILD_INPUTS} | 60 | ${BUILD}: ${BUILD_INPUTS} |
62 | @touch ${LASTB} | ||
63 | @mkdir -p ${BUILD} | 61 | @mkdir -p ${BUILD} |
64 | cp -a ${BUILD_INPUTS} $@ | 62 | cp -a ${BUILD_INPUTS} $@ |
65 | ${MAKE} -C $@ -f ${HTMK} build | 63 | ${MAKE} -C $@ -f ${HTMK} build |
@@ -85,7 +83,7 @@ ${PTMPL}: ; printf '${PTMPC}' > '$@' | |||
85 | ${ITMPL}: ; printf '${ITMPC}' > '$@' | 83 | ${ITMPL}: ; printf '${ITMPC}' > '$@' |
86 | 84 | ||
87 | .PHONY: clean clean-build nuke | 85 | .PHONY: clean clean-build nuke |
88 | clean: ; -rm -rf ${BUILD} ${HTMK} $T ${LASTB} | 86 | clean: ; -rm -rf ${BUILD} ${HTMK} $T |
89 | nuke: clean ; -rm ${TMPL} | 87 | nuke: clean ; -rm ${TMPL} |
90 | 88 | ||
91 | ${RSYNCEXCLUDEFILE}: ${BUILD} | 89 | ${RSYNCEXCLUDEFILE}: ${BUILD} |