view Makefile @ 82:5484cfdc2d59

setup: build MANIFEST.in from hg manifest
author Matt Mackall <mpm@selenic.com>
date Thu, 10 Nov 2011 17:08:24 -0600
parents b3c2f0e6bda2
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