Remove unneeded import
[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
16install-doc:
17 $(MAKE) -C Documentation install
18
19install-html:
20 $(MAKE) -C Documentation install-html
21
22test:
23 cd t && $(MAKE) all
24
25test_patches:
26 for patch in $$(stg series --noprefix $(TEST_PATCHES)); do \
27 stg goto $$patch && $(MAKE) test || break; \
28 done
29
30clean:
31 for dir in Documentation t; do \
32 (cd $$dir && $(MAKE) clean); \
33 done
34 rm -rf build
35 rm -f stgit/*.pyc
36 rm -f stgit/commands/*.pyc
37 rm -f TAGS
38
39tags:
40 ctags -e -R stgit/*
41
42.PHONY: all install doc install-doc install-html test test_patches clean