chiark / gitweb /
stg repair: Patchify non-patch commits between patches
[stgit] / Makefile
CommitLineData
3dd412a1
CM
1PREFIX ?= $(HOME)
2DESTDIR ?= /
3PYTHON ?= python
c8a4777f
PR
4
5all:
6 $(PYTHON) setup.py build
7
8install:
09e022f5 9 $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --force
c8a4777f
PR
10
11doc:
368a44c3 12 cd Documentation && $(MAKE) all
c8a4777f
PR
13
14test:
15 cd t && $(MAKE) all
16
17clean:
368a44c3 18 for dir in Documentation t; do \
c8a4777f
PR
19 (cd $$dir && $(MAKE) clean); \
20 done
21 rm -rf build
22 rm -f stgit/*.pyc
23 rm -f stgit/commands/*.pyc
a7c71daf
CM
24 rm -f TAGS
25
26tags:
27 ctags -e -R stgit/*
368a44c3
YD
28
29.PHONY: all install doc test clean