chiark / gitweb /
stg-gitk: allow passing args to gitk; add --help.
[stgit] / Makefile
... / ...
CommitLineData
1PREFIX ?= $(HOME)
2DESTDIR ?= /
3PYTHON ?= python
4
5all:
6 $(PYTHON) setup.py build
7
8install:
9 $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --force
10
11doc:
12 cd Documentation && $(MAKE) all
13
14test:
15 cd t && $(MAKE) all
16
17clean:
18 for dir in Documentation t; do \
19 (cd $$dir && $(MAKE) clean); \
20 done
21 rm -rf build
22 rm -f stgit/*.pyc
23 rm -f stgit/commands/*.pyc
24 rm -f TAGS
25
26tags:
27 ctags -e -R stgit/*
28
29.PHONY: all install doc test clean