Log subprocess calls during performance testing
[stgit] / Makefile
... / ...
CommitLineData
1PREFIX ?= $(HOME)
2DESTDIR ?= /
3PYTHON ?= python
4
5TEST_PATCHES ?= ..
6
7all:
8 $(PYTHON) setup.py build
9
10install:
11 $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --force
12
13doc:
14 cd Documentation && $(MAKE) all
15
16test:
17 cd t && $(MAKE) all
18
19test_patches:
20 for patch in $$(stg series --noprefix $(TEST_PATCHES)); do \
21 stg goto $$patch && $(MAKE) test || break; \
22 done
23
24clean:
25 for dir in Documentation t; do \
26 (cd $$dir && $(MAKE) clean); \
27 done
28 rm -rf build
29 rm -f stgit/*.pyc
30 rm -f stgit/commands/*.pyc
31 rm -f TAGS
32
33tags:
34 ctags -e -R stgit/*
35
36.PHONY: all install doc test test_patches clean