view Makefile @ 81:b3c2f0e6bda2

Makefile: add dist target
author Matt Mackall <mpm@selenic.com>
date Thu, 10 Nov 2011 16:42:30 -0600
parents 37307caccf54
children 5484cfdc2d59
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

dist:
	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