aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-14 18:59:21 -0400
committerRob Austein <sra@hactrn.net>2017-04-14 18:59:21 -0400
commitb6e542aced4cd2b853de0a366d8e995c798dd296 (patch)
tree8d44745d7e58c8a734290ce523e56b4aaa22206e
parent4328d23cdb3874e1585685b0f0c6c34a9c1ebe12 (diff)
Target to restore staging repository after an oops.
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 75f3f8c..67aa51b 100644
--- a/Makefile
+++ b/Makefile
@@ -143,7 +143,12 @@ upload:
${RSYNC} --delete --delete-delay ${REPO_BASE}/$${dir}/ rsync://${REPO_UPLOAD_HOST}/$${dir}/; \
done
+bother:
+ for dir in ${REPO_UPLOAD_DIRS}; do \
+ ${RSYNC} --delete rsync://${REPO_UPLOAD_HOST}/$${dir}/ ${REPO_BASE}/$${dir}/; \
+ done
+
happy:
git pull
-.PHONY: all init clean firmware shadow bitstream elves tamper dsc pbuilder homebrew expire upload enchilada sandblast happy
+.PHONY: all init clean firmware shadow bitstream elves tamper dsc pbuilder homebrew expire upload enchilada sandblast happy bother