source: Makefile

Last change on this file was 0:d6fd1a0b192a, checked in by Simon Cross <hodgestar@…>, 9 years ago

Commit skellington.

File size: 1.2 KB
Line 
1#fake Makefile for skaapsteker, to support the common
2# ./configure;make;make install
3
4PYTHON = python
5
6#build: Setup setup.py
7build: setup.py
8        $(PYTHON) setup.py build
9
10#install: Setup setup.py
11install: setup.py
12        $(PYTHON) setup.py install
13
14#Setup:
15#       $(PYTHON) configure.py
16
17test check tests:
18        $(PYTHON) run_tests.py
19
20testall:
21        python2.5 setup.py test
22        python2.6 setup.py test
23        python3.1 setup.py test
24        make checkdocs
25
26#docs:  install
27#       cd docs/utils
28#       $(PYTHON) makedocs.py
29
30clean:
31        rm -rf build dist MANIFEST .coverage
32        rm -f skaapsteker/*~
33        rm -rf bin develop-eggs eggs parts .installed.cfg skaapsteker.egg-info
34        find . -name *.pyc -exec rm {} \;
35        find . -name *.swp -exec rm {} \;
36        $(PYTHON) setup.py clean
37
38# push changes
39push:
40        #bzr push lp:skaapsteker
41        svn commit
42
43# commit changes
44commit:
45        #bzr commit
46        svn commit
47
48#upload to pypi
49upload:
50        make clean
51        #if you have your gpg key set up... sign your release.
52        #$(PYTHON) setup.py sdist upload --sign --identity="Your Name <youremail@example.com>"
53        $(PYTHON) setup.py sdist upload
54
55sdist:
56        make clean
57        make testall
58        $(PYTHON) setup.py sdist
59
60checkdocs:
61        $(PYTHON) setup.py checkdocs -setuptools
62
63showdocs:
64        $(PYTHON) setup.py showdocs -setuptools
65
66coverage:
67        coverage run run_tests.py
68        coverage report -m
69
70
Note: See TracBrowser for help on using the repository browser.