add a "justupload" makefile target
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Nov 2023 09:13:57 +0000 (09:13 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Nov 2023 09:13:57 +0000 (09:13 +0000)
Makefile

index dc3444c0a4f62278fef28ea2e811bdafb9d74d82..84b9037151b0e9c386bc213a3c126ee3a7066c46 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
 .PHANTOM: build upload clean
 
 build:
+       mkdir -p task_db
        nohup budget-sync -c budget-sync-config.toml -o task_db/mdwn > task_db/report.mdwn
 
-upload: build
-       rsync -HPavz -e 'ssh -p 922' --delete task_db/* \
-       libre-soc.org:/var/www/libresoc-nlnet/task_db
-       ssh libre-soc.org update-ikiwiki.sh
+justupload:
+       rsync -HPavz --no-perms --no-group --no-times -e 'ssh -p 922' --delete task_db/* \
+       lkcl@libre-soc.org:/var/www/libresoc-nlnet/task_db
+       ssh lkcl@libre-soc.org update-ikiwiki.sh
+
+upload: build justupload
 
 clean:
        rm -rf task_db