makefile: build jekyll, don't rely on 'jekyll serve' running

This commit is contained in:
Jeff Epler 2020-07-22 10:16:48 -05:00
parent 3c95d50bec
commit af0424af62

View file

@ -26,8 +26,12 @@ resources/gen/rules.mk: _data/assets.yml _lib/rules.py
-include resources/gen/rules.mk -include resources/gen/rules.mk
.PHONY: publish .PHONY: publish jekyll
publish: default jekyll:
$(ECHO) "JEKYLL"
$(Q)jekyll build
publish: jekyll default
$(ECHO) "PUBLISH" $(ECHO) "PUBLISH"
$(Q)git branch -D gh-pages || true $(Q)git branch -D gh-pages || true
$(Q)./_lib/docimport.py | git fast-import --date-format=now $(Q)./_lib/docimport.py | git fast-import --date-format=now