Makefile: Add clean rule

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-04-14 00:43:08 +02:00
parent 7aa3d7518f
commit 4828bce9d4
Signed by: pep
GPG Key ID: DEDA74AEECA9D0F2
1 changed files with 4 additions and 2 deletions

View File

@ -5,8 +5,7 @@
all: public
public:
rm -rf public/*
public: clean
hugo --debug --destination public
systemctl --user start blog-goaccess.service
@ -24,6 +23,9 @@ drafts:
serve:
hugo serve --debug --buildDrafts --buildFuture
clean:
rm -rf public drafts
.PHONY: branches drafts
# vim:ft=make
#