blog/Makefile

19 lines
286 B
Makefile

.PHONY: all
all: build-dev
.PHONY: build-dev
build-dev:
HUGO_TITLE="Ambroisie's dev blog" HUGO_BASEURL=https://dev.belanyi.fr hugo -D -F
.PHONY: build-prod
build-prod:
HUGO_ENV=production hugo --minify
.PHONY: serve
serve:
hugo server -D -F
.PHONY: clean
clean:
$(RM) -r public