X-Git-Url: https://git.ctpug.org.za/?p=erdslangetjie.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=665aa258ab8f23ad87c82a38404618bd7486a73a;hp=13ba3e19caf5a6b739a56d194e0ca5032b85af11;hb=8822b66defd8933315d743cd4a7f3d2e1cbb038e;hpb=e98761f7b9310668704a657126bddf051bafd2f0 diff --git a/Makefile b/Makefile index 13ba3e1..665aa25 100644 --- a/Makefile +++ b/Makefile @@ -1,40 +1,9 @@ -#fake Makefile for erdslangetjie, to support the common -# ./configure;make;make install - -PYTHON = python - -#build: Setup setup.py -build: setup.py - $(PYTHON) setup.py build - -#install: Setup setup.py -install: setup.py - $(PYTHON) setup.py install - -#Setup: -# $(PYTHON) configure.py - -test check tests: - $(PYTHON) run_tests.py - -testall: - #python2.5 setup.py test - python2.7 setup.py test - #python3.1 setup.py test - make checkdocs - -#docs: install -# cd docs/utils -# $(PYTHON) makedocs.py +#Makefile for erdslangetjie, to help with the final release clean: - rm -rf build dist MANIFEST .coverage - rm -f erdslangetjie/*~ - rm -rf bin develop-eggs eggs parts .installed.cfg erdslangetjie.egg-info + rm -f bane_pyweek_16.zip bane_pyweek_16.tar.bz2 find . -name *.pyc -exec rm {} \; find . -name *.swp -exec rm {} \; - $(PYTHON) setup.py clean - android_zip: rm -f bane_pyweek_16.zip @@ -46,38 +15,3 @@ tarball: tar -cf - data misc_stuff *.txt Makefile configure *pyw *py erdslangetjie/*py erdslangetjie/editor/*py | (cd bane_pyweek_16 && tar -xvpf -) tar -caf bane_pyweek_16.tar.bz2 bane_pyweek_16 rm -rf bane_pyweek_16 - -# push changes -push: - #bzr push lp:erdslangetjie - #svn commit - git commit - -# commit changes -commit: - #bzr commit - git commit - -#upload to pypi -upload: - make clean - #if you have your gpg key set up... sign your release. - #$(PYTHON) setup.py sdist upload --sign --identity="Your Name " - $(PYTHON) setup.py sdist upload - -sdist: - make clean - make testall - $(PYTHON) setup.py sdist - -checkdocs: - $(PYTHON) setup.py checkdocs -setuptools - -showdocs: - $(PYTHON) setup.py showdocs -setuptools - -coverage: - coverage run run_tests.py - coverage report -m - -