Makefile: Add clean rule
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
7aa3d7518f
commit
4828bce9d4
6
Makefile
6
Makefile
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue