Makefile
changeset 1008 85272e96b96a
child 1020 f1b052db3515
equal deleted inserted replaced
1007:2e8d96e89dfc 1008:85272e96b96a
       
     1 # This Makefile is only used by developers.
       
     2 PYTHON=python
       
     3 
       
     4 all:
       
     5 	@echo "Read the file README for install instructions."
       
     6 
       
     7 clean:
       
     8 	-$(PYTHON) setup.py clean --all # ignore errors of this command
       
     9 	find . -name '*.py[co]' -exec rm -f '{}' ';'
       
    10 	make -C doc clean
       
    11 
       
    12 dist:	tests doc
       
    13 	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest
       
    14 
       
    15 tests:
       
    16 	cd tests && ./run-tests
       
    17 
       
    18 doc:
       
    19 	make -C doc
       
    20 
       
    21 
       
    22 .PHONY: all clean dist tests doc
       
    23