From 79435fa5cde54c0988c484a8e799caacff4d5897 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 20 May 2022 09:35:50 -0500 Subject: Use rsync -u to avoid .last_build --- .gitignore | 1 - .last_build | 0 Makefile | 6 ++---- 3 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 .last_build diff --git a/.gitignore b/.gitignore index 6179cfb..6503210 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .tmp build/ -.last_build ht.mk diff --git a/.last_build b/.last_build new file mode 100644 index 0000000..e69de29 diff --git a/Makefile b/Makefile index 168fac8..87e730d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,6 @@ SITE_TITLE = acdw.casa INPUT = src BUILD = build -LASTB = .last_build HTAWK = ./ht.awk HTSH = ./ht.sh @@ -54,12 +53,11 @@ RSYNCEXCLUDE = \ "*.bod.txt" \ "tmp/" RSYNCEXCLUDEFILE = ${BUILD}/.rsync-exclude -RSYNC = rsync -avz --exclude-from="${RSYNCEXCLUDEFILE}" --delete +RSYNC = rsync -auvz --exclude-from="${RSYNCEXCLUDEFILE}" --delete #################### ${BUILD}: ${BUILD_INPUTS} - @touch ${LASTB} @mkdir -p ${BUILD} cp -a ${BUILD_INPUTS} $@ ${MAKE} -C $@ -f ${HTMK} build @@ -85,7 +83,7 @@ ${PTMPL}: ; printf '${PTMPC}' > '$@' ${ITMPL}: ; printf '${ITMPC}' > '$@' .PHONY: clean clean-build nuke -clean: ; -rm -rf ${BUILD} ${HTMK} $T ${LASTB} +clean: ; -rm -rf ${BUILD} ${HTMK} $T nuke: clean ; -rm ${TMPL} ${RSYNCEXCLUDEFILE}: ${BUILD} -- cgit 1.4.1-21-gabe81