File: Makefile

package info (click to toggle)
python-hglib 2.6.2-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 496 kB
  • sloc: python: 3,245; makefile: 20
file content (17 lines) | stat: -rw-r--r-- 376 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
PYTHON=python3
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) -m unittest discover