git-linter/Makefile

25 lines
604 B
Makefile
Raw Normal View History

.PHONY: clean-pyc clean-build docs clean
help:
@echo "docs - generate Sphinx HTML documentation, including API docs"
2016-10-04 00:31:52 +00:00
master:
git clone -b master `git config --get remote.origin.url` master
2016-10-04 00:31:52 +00:00
docs: master
cd master && git pull origin master && make docs
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-10-04 00:31:52 +00:00
clean:
rm *.html
rm -fr modules static sources
2016-10-04 00:31:52 +00:00
realclean:
rm -fr master