all repos — homestead @ fb24fc590ebd748a05ecd934e0ed21aad6c0d5f9

Code for my website

Add `clean` make target

Alan Pearce
commit

fb24fc590ebd748a05ecd934e0ed21aad6c0d5f9

parent

16092fb22dc42fc513bbc7c8116ca7d7706ea00f

1 file changed, 4 insertions(+), 1 deletion(-)

jump to
M MakefileMakefile
@@ -11,6 +11,9 @@
build: zola build --output-dir $(PREFIX) +clean: + rm -rf ./$(PREFIX) + to_compress := $(shell fd . $(PREFIX) --type=file -e html -e xml -e txt -e asc) brotli_files := $(patsubst %, %.br, $(to_compress)) gzip_files := $(patsubst %, %.gz, $(to_compress))
@@ -59,4 +62,4 @@
deploy: build compress rsync --archive --delete public/ pappel.alanpearce.eu:/srv/http/alanpearce.eu -.PHONY: all build compress install deploy +.PHONY: all clean build compress install deploy