OSDN Git Service

Working on bug #15
[joypy/Thun.git] / Makefile
1 # My make-fu style is old and tired.  I just want to have a few helper commands.
2
3 WEBSERVER = sforman@shell.osdn.net
4
5 .PHONY: clean docs upload-docs
6
7
8 clean:
9         $(RM) -r Thun.egg-info/ dist/ build/ __pycache__/
10         find . -name '*.pyc' | xargs $(RM)
11
12 docs:
13         cd ./docs && make && make mov && cd ./sphinx_docs && make html
14
15 upload-docs: docs
16         ssh $(WEBSERVER) /home/users/s/sf/sforman/backup-and-remove-htdocs
17         rsync -rv --progress ./docs/sphinx_docs/_build/html/ $(WEBSERVER):/home/groups/j/jo/joypy/htdocs/