Add HUGO_BIN into Makefile

This commit is contained in:
Luiz F. A. de Prá 2019-01-02 17:06:58 -02:00
parent 5f052f9301
commit e10448c4b3
1 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,12 @@
HUGO_BIN=hugo
.PHONY: prepare release build demo clean .PHONY: prepare release build demo clean
build: prepare build: prepare
./hugow --source demo $(HUGO_BIN) --source demo
demo: prepare demo: prepare
./hugow server --buildDrafts --source demo $(HUGO_BIN) server --buildDrafts --source demo
release: build release: build
rm -rf ./resources && cp -r ./demo/resources ./resources rm -rf ./resources && cp -r ./demo/resources ./resources