view Makefile @ 86:f98d6e234cd9

util: eliminate py2.6 if/else expression
author Matt Mackall <mpm@selenic.com>
date Thu, 17 Nov 2011 12:53:41 -0600
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