add detail option and convert to <tt> and <br>
[utils.git] / Makefile
index cf242c0ac2f0c166dab9b26cf2952dfde8117998..642d5dc213d051122d2573e5a9748192d5b3ff98 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
 .PHANTOM: build upload clean
 
-build: task_db/report.mdwn
-       nohup budget-sync -c budget-sync-config.toml -o task_db/mdwn > task_db/report.mdwn
+build:
+       mkdir -p task_db
+       budget-sync -c budget-sync-config.toml -o task_db/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