Make sure that the output of "stg status" is sorted
[stgit/ydirson.git] / Makefile
blobc890b8ed0a786b0be48661c7b9837d1eb6d0ebdb
1 PREFIX ?= $(HOME)
2 DESTDIR ?= /
3 PYTHON ?= python
5 all:
6 $(PYTHON) setup.py build
8 install:
9 $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --force
11 doc:
12 cd Documentation && $(MAKE) all
14 test:
15 cd t && $(MAKE) all
17 clean:
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
26 tags:
27 ctags -e -R stgit/*
29 .PHONY: all install doc test clean