aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-11 20:20:06 +0100
committerJulien Dessaux2021-03-11 20:31:01 +0100
commitbfda33e9f65b288f9eea6b0f771fad26523de437 (patch)
tree33c1a79b2b0f10ee6aca26db17c8102a60efa6d4 /Makefile
parentFirst big articles reformatting now that I properly understand hugo (diff)
downloadwww-bfda33e9f65b288f9eea6b0f771fad26523de437.tar.gz
www-bfda33e9f65b288f9eea6b0f771fad26523de437.tar.bz2
www-bfda33e9f65b288f9eea6b0f771fad26523de437.zip
Added gitea deployment hook and a favicon
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f10d7a6..104306b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,15 @@
.POSIX:
-DESTDIR=public
+DESTDIR=public/
.PHONY: build
build: ## make build # builds an optimized version of the website in $(DESTDIR)
- @echo "? Generating site"
+ @echo "----- Generating site -----"
hugo --gc --minify --cleanDestinationDir -d $(DESTDIR)
.PHONY: clean
clean: ## make clean # removed all $(DESTDIR) contents
- @echo "? Cleaning old build"
+ @echo "----- Cleaning old build -----"
cd $(DESTDIR) && rm -rf *
.PHONY: serve