view Makefile @ 118:e738d6fe5f3f 1.1

tests: make the tests work under Pypy (issue3965) ..which needs explicit close() due to lack of reference counting.
author Matt Mackall <mpm@selenic.com>
date Sun, 23 Jun 2013 17:52:16 -0500
parents 5484cfdc2d59
children b8edcb693518
line wrap: on
line source

PYTHON=python
help:
	@echo 'Commonly used make targets:'
	@echo '  tests - run all tests in the automatic test suite'

all: help

.PHONY: tests

MANIFEST.in:
	hg manifest | sed -e 's/^/include /' > MANIFEST.in

dist: MANIFEST.in
	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist

tests:
	$(PYTHON) test.py --with-doctest