fix Makefile

This commit is contained in:
Vinta 2015-06-09 19:19:41 +08:00
parent d533c5bc65
commit 4f55f2da5a

View File

@ -4,9 +4,13 @@ DOCDIR=$(BASEDIR)/docs
install:
pip install mkdocs
link:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
preview:
$(MAKE) link
mkdocs serve
deploy:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
$(MAKE) link
mkdocs gh-deploy --clean