2016-09-19 21:41:01 +00:00
|
|
|
.PHONY: clean-pyc clean-build docs clean
|
|
|
|
|
|
|
|
help:
|
|
|
|
@echo "docs - generate Sphinx HTML documentation, including API docs"
|
2016-09-30 18:49:21 +00:00
|
|
|
|
2016-10-04 00:31:52 +00:00
|
|
|
master:
|
|
|
|
git clone -b master `git config --get remote.origin.url` master
|
2016-09-19 21:41:01 +00:00
|
|
|
|
2016-10-04 00:31:52 +00:00
|
|
|
docs: master
|
|
|
|
cd master && git pull origin master && make docs
|
2016-10-04 17:20:46 +00:00
|
|
|
rm -fr _modules _static _sources modules static sources
|
2016-10-04 00:31:52 +00:00
|
|
|
mv master/docs/_build/html/* .
|
|
|
|
mv _modules modules
|
|
|
|
mv _static static
|
|
|
|
mv _sources sources
|
|
|
|
perl -pi.bak -e 's/_sources/sources/g; s/_static/static/g; s/_modules/modules/g' *.html modules/*.html modules/*/*.html
|
|
|
|
rm *.html.bak modules/*.html.bak modules/*/*.html.bak
|
2016-09-19 21:41:01 +00:00
|
|
|
|
2016-10-04 00:31:52 +00:00
|
|
|
clean:
|
|
|
|
rm *.html
|
|
|
|
rm -fr modules static sources
|
2016-09-19 21:41:01 +00:00
|
|
|
|
2016-10-04 00:31:52 +00:00
|
|
|
realclean:
|
|
|
|
rm -fr master
|
2016-09-19 21:41:01 +00:00
|
|
|
|