Makefile
changeset 573 5a0a01c4c7c2
parent 542 ca5bb72d14ae
child 1524 bfbd99b50f8f
equal deleted inserted replaced
498:53d7e3413337 573:5a0a01c4c7c2
     1 PYTHON=python
     1 PYTHON=python
     2 HG=`which hg`
     2 HG=`which hg`
       
     3 VERSION=$(shell python setup.py --version)
       
     4 
     3 
     5 
     4 help:
     6 help:
     5 	@echo 'Commonly used make targets:'
     7 	@echo 'Commonly used make targets:'
     6 	@echo '  tests              - run all tests in the automatic test suite'
     8 	@echo '  tests              - run all tests in the automatic test suite'
     7 	@echo '  all-version-tests - run all tests against many hg versions'
     9 	@echo '  all-version-tests - run all tests against many hg versions'
    22 	cd tests && $(PYTHON) $(CREW)/tests/run-tests.py $(TESTFLAGS)
    24 	cd tests && $(PYTHON) $(CREW)/tests/run-tests.py $(TESTFLAGS)
    23 
    25 
    24 all-version-tests: tests-1.3.1 tests-1.4.3 tests-1.5.4 \
    26 all-version-tests: tests-1.3.1 tests-1.4.3 tests-1.5.4 \
    25                    tests-1.6.4 tests-1.7.5 tests-1.8 tests-tip
    27                    tests-1.6.4 tests-1.7.5 tests-1.8 tests-tip
    26 
    28 
       
    29 deb-prepare:
       
    30 	python setup.py sdist --dist-dir ..
       
    31 	mv -f ../hg-evolve-$(VERSION).tar.gz ../mercurial-evolve_$(VERSION).orig.tar.gz
       
    32 	tar xf ../mercurial-evolve_$(VERSION).orig.tar.gz
       
    33 	rm -rf ../mercurial-evolve_$(VERSION).orig
       
    34 	mv hg-evolve-$(VERSION) ../mercurial-evolve_$(VERSION).orig
       
    35 	cp -r debian/ ../mercurial-evolve_$(VERSION).orig/
       
    36 	@cd ../mercurial-evolve_$(VERSION).orig && echo 'debian build directory ready at' `pwd`
       
    37 
    27 .PHONY: tests all-version-tests
    38 .PHONY: tests all-version-tests