Add HUGO_BIN into Makefile
This commit is contained in:
parent
5f052f9301
commit
e10448c4b3
6
Makefile
6
Makefile
|
@ -1,10 +1,12 @@
|
|||
HUGO_BIN=hugo
|
||||
|
||||
.PHONY: prepare release build demo clean
|
||||
|
||||
build: prepare
|
||||
./hugow --source demo
|
||||
$(HUGO_BIN) --source demo
|
||||
|
||||
demo: prepare
|
||||
./hugow server --buildDrafts --source demo
|
||||
$(HUGO_BIN) server --buildDrafts --source demo
|
||||
|
||||
release: build
|
||||
rm -rf ./resources && cp -r ./demo/resources ./resources
|
||||
|
|
Loading…
Reference in New Issue