makefile: build jekyll, don't rely on 'jekyll serve' running
This commit is contained in:
parent
3c95d50bec
commit
af0424af62
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
|
@ -26,8 +26,12 @@ resources/gen/rules.mk: _data/assets.yml _lib/rules.py
|
|||
-include resources/gen/rules.mk
|
||||
|
||||
|
||||
.PHONY: publish
|
||||
publish: default
|
||||
.PHONY: publish jekyll
|
||||
jekyll:
|
||||
$(ECHO) "JEKYLL"
|
||||
$(Q)jekyll build
|
||||
|
||||
publish: jekyll default
|
||||
$(ECHO) "PUBLISH"
|
||||
$(Q)git branch -D gh-pages || true
|
||||
$(Q)./_lib/docimport.py | git fast-import --date-format=now
|
||||
|
|
|
|||
Loading…
Reference in a new issue