From: Jacob Lifshay Date: Thu, 23 Sep 2021 02:18:40 +0000 (-0700) Subject: add build and clean targets to makefile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=970820b21d14142dba4468c1d308f58437b195ad;p=utils.git add build and clean targets to makefile --- diff --git a/Makefile b/Makefile index 37efdae..c778930 100644 --- 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