~free.ekanayaka/storm/any-expr

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Jamu Kakar
  • Date: 2009-11-24 19:10:43 UTC
  • mfrom: (327.2.4 default-c-extensions)
  • Revision ID: jkakar@kakar.ca-20091124191043-z45n74ff1ebnh4w3
Merged default-c-extensions [r=jamesh,therve] [f=410592]

Storm's C extensions are enabled by default.  They can be disabled
by defining the STORM_CEXTENSIONS environment variable to '0'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
PYTHON ?= python
 
2
PYDOCTOR ?= pydoctor
2
3
 
3
4
TEST_COMMAND = $(PYTHON) test
4
5
 
18
19
        $(PYTHON) setup.py build_ext -i
19
20
 
20
21
check: build
21
 
        # Run the tests once with cextensions and once without them.
22
 
        $(TEST_COMMAND) && STORM_CEXTENSIONS=1 $(TEST_COMMAND)
 
22
        # Run the tests once with C extensions and once without them.
 
23
        $(TEST_COMMAND) && STORM_CEXTENSIONS=0 $(TEST_COMMAND)
 
24
 
 
25
doc:
 
26
        $(PYDOCTOR) --make-html --html-output apidoc --add-package storm
 
27
 
 
28
release:
 
29
        $(PYTHON) setup.py sdist
23
30
 
24
31
clean:
25
32
        rm -rf build
 
33
        rm -rf build-stamp
 
34
        rm -rf dist
 
35
        rm -rf storm.egg-info
 
36
        rm -rf debian/files
 
37
        rm -rf debian/python-storm
 
38
        rm -rf debian/python-storm.*
26
39
        find . -name "*.so" -type f -exec rm -f {} \;
27
40
        find . -name "*.pyc" -type f -exec rm -f {} \;
28
41
        find . -name "*~" -type f -exec rm -f {} \;