add build and clean targets to makefile
authorJacob Lifshay <programmerjake@gmail.com>
Thu, 23 Sep 2021 02:18:40 +0000 (19:18 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 23 Sep 2021 02:18:40 +0000 (19:18 -0700)
Makefile

index 37efdae93a010dd6cc8d58a5813136de4be13714..c7789308c072cc3c9cb9eabe8528dc8fa3d8944e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,11 @@
-upload:
-       mkdir -p task_db
+.PHANTOM: build upload clean
+
+build:
        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
+
+clean:
+       rm -rf task_db