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
|
.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
|
||||||
|
|
Loading…
Reference in New Issue