view Makefile @ 178:77a5fded9f45

init: add init() to hgclient to allow progress to be reported The init() command is required as a member of hgclient so that progress, output and errors from the init() command can be sent to cbout and cberr call backs.
author Barry A. Scott <barry@barrys-emacs.org>
date Fri, 28 Oct 2016 11:45:57 +0100
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