OSDN Git Service

Minor cleanup.
[joypy/Thun.git] / Makefile
index cfa4642..6387f17 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
 # My make-fu style is old and tired.  I just want to have a few helper commands.
 
 TESTDIR = ./test00
-VERSION = 0.2.0
+VERSION = 0.4.0
+WEBSERVER = sforman@shell.osdn.net
 
-.PHONY: clean sdist test docs
+.PHONY: clean sdist test docs upload-docs
 
 
 clean:
@@ -11,10 +12,7 @@ clean:
        find . -name '*.pyc' | xargs $(RM)
 
 sdist:
-       python ./setup.py sdist
-
-joy/utils/generated_library.py: joy/utils/types.py
-       python -c 'import joy.utils.types ; joy.utils.types.generate_library_code()' > $@
+       python ./setup.py sdist bdist_wheel
 
 
 # In order to support testing the code as installed
@@ -30,3 +28,6 @@ test: sdist
 docs:
        cd ./docs && make && make mov && cd ./sphinx_docs && make html
 
+upload-docs: docs
+       ssh $(WEBSERVER) /home/users/s/sf/sforman/backup-and-remove-htdocs
+       rsync -rv --progress ./docs/sphinx_docs/_build/html/ $(WEBSERVER):/home/groups/j/jo/joypy/htdocs/