Makefile
changeset 2234 9ea93ff67a73
parent 2233 3840cefa5222
child 2235 457e4247315d
equal deleted inserted replaced
2233:3840cefa5222 2234:9ea93ff67a73
    12 clean:
    12 clean:
    13 	-$(PYTHON) setup.py clean --all # ignore errors of this command
    13 	-$(PYTHON) setup.py clean --all # ignore errors of this command
    14 	find . -name '*.py[co]' -exec rm -f '{}' ';'
    14 	find . -name '*.py[co]' -exec rm -f '{}' ';'
    15 	$(MAKE) -C doc clean
    15 	$(MAKE) -C doc clean
    16 
    16 
    17 dist:	tests doc
    17 dist:	tests dist-notests
       
    18 
       
    19 dist-notests:	doc
    18 	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest
    20 	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest
    19 
    21 
    20 tests:
    22 tests:
    21 	cd tests && $(PYTHON) run-tests.py
    23 	cd tests && $(PYTHON) run-tests.py
    22 
    24 
    25 
    27 
    26 doc:
    28 doc:
    27 	$(MAKE) -C doc
    29 	$(MAKE) -C doc
    28 
    30 
    29 
    31 
    30 .PHONY: all clean dist tests doc
    32 .PHONY: all clean dist dist-notests tests doc
    31 
    33