view Makefile @ 210:513ebe91dc72

tox: add more Mercurial versions
author Augie Fackler <raf@durin42.com>
date Wed, 11 Dec 2019 09:39:53 -0500
parents b8edcb693518
children 8341f2494b3f
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 all help

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