From: Luke Kenneth Casson Leighton Date: Fri, 3 Nov 2023 09:13:57 +0000 (+0000) Subject: add a "justupload" makefile target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d12d602e18ecfee0cecbc83e068606e2f11026a;p=utils.git add a "justupload" makefile target --- diff --git a/Makefile b/Makefile index dc3444c..84b9037 100644 --- 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