Makefile
changeset 1423 76239f0cb0dc
parent 1020 f1b052db3515
child 1426 e84c69b43cdb
equal deleted inserted replaced
1422:a7e8408ac79c 1423:76239f0cb0dc
     8 	@echo "Read the file README for install instructions."
     8 	@echo "Read the file README for install instructions."
     9 
     9 
    10 clean:
    10 clean:
    11 	-$(PYTHON) setup.py clean --all # ignore errors of this command
    11 	-$(PYTHON) setup.py clean --all # ignore errors of this command
    12 	find . -name '*.py[co]' -exec rm -f '{}' ';'
    12 	find . -name '*.py[co]' -exec rm -f '{}' ';'
    13 	make -C doc clean
    13 	$(MAKE) -C doc clean
    14 
    14 
    15 dist:	tests doc
    15 dist:	tests doc
    16 	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest
    16 	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest
    17 
    17 
    18 tests:
    18 tests:
    19 	cd tests && ./run-tests
    19 	cd tests && ./run-tests
    20 
    20 
    21 doc:
    21 doc:
    22 	make -C doc
    22 	$(MAKE) -C doc
    23 
    23 
    24 
    24 
    25 .PHONY: all clean dist tests doc
    25 .PHONY: all clean dist tests doc
    26 
    26