summaryrefslogtreecommitdiffstats
path: root/third_party/python/python-hglib/Makefile
blob: ad2609375517c37c8b2154bdb567a3cbbeb6d5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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