summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-10-08 22:09:44 +0200
committeremkael <emkael@tlen.pl>2020-10-08 22:09:44 +0200
commitd16cc1949f26b6554a395c048a73ab1d9e940522 (patch)
tree079c74f22933b9a41d93383d528c31eacde8f315 /Makefile
parent1f8fd0f263fb35610d317ad3dc293d3ebd193c38 (diff)
Pulling results pages into backup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ade5a4c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+all: FORCE
+
+pull:
+ @rsync ${LIGA_RSYNC_OPTS} -q --delete --exclude=.htaccess --exclude=.git --exclude=.gitignore -urPz ${LIGA_REMOTE_WWW_DIR}/ http
+
+autocommit: pull
+ @cd http && git diff --quiet || (git add . && git commit -m 'Autocommit' && git push)
+
+FORCE: