From 07ee93e21c90b31772bd9c16ea1bc3e0d7c316b3 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 23 Sep 2023 19:15:50 +0100 Subject: Adjusted for Sourcehut use --- Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 789183d..6315bd4 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,13 @@ +all: clean build deploy + build: ./blarg - # rsync -r public/ build/public clean: rm -rf build/* - -watch: - while true; do \ - ls -d .git/* * posts/* pages/* header.html | entr -cd make ;\ - done - + rm site.tar.gz deploy: - rsync -arv --exclude '*.tsv' ~/Git/blarg/build/ ~/Git/pages/ + tar -C build -cvz . > site.tar.gz + hut pages publish -d justine.smithies.me.uk site.tar.gz -.PHONY: build clean watch deploy +.PHONY: build clean deploy -- cgit v1.2.3