aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2023-12-28 23:25:07 +0100
committerAdam Stück <adam@adast.dk>2023-12-28 23:25:07 +0100
commit6ca9243f1edb2f26827f0ecec0c65b1d7f6b2fa4 (patch)
treeea58dd28dd291b800c53a80327410f5d3cf04a67 /Makefile
parenta334c2c2a27db422fe156da7f0acaa0a34893535 (diff)
Makefile: ignore missing public/ dir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b16a580..722aade 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
build:
sh ./barf
- rsync -r public/ build/public
+ [ -d ./public/ ] && rsync -r public/ build/public || exit 0
clean:
rm -rf build/*