view Makefile @ 167:f22f3ff3cfae

client: extract stub to read server's stderr on close() New _close() function will return (returncode, stderr) pair so that detailed error message can be obtained.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 07 Sep 2015 22:26:59 +0900
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