X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/c8a4777f93c66181a78c25d292be3681ecf3adaa..c2a8af1d63280cf5d00574e3e059735a61fd64c9:/Makefile diff --git a/Makefile b/Makefile index df77d97..8671209 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -PREFIX = $(HOME) -DESTDIR = / -PYTHON = python +PREFIX ?= $(HOME) +DESTDIR ?= / +PYTHON ?= python all: $(PYTHON) setup.py build @@ -9,15 +9,21 @@ install: $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) doc: - cd doc && $(MAKE) all + cd Documentation && $(MAKE) all test: cd t && $(MAKE) all clean: - for dir in doc t; do \ + for dir in Documentation t; do \ (cd $$dir && $(MAKE) clean); \ done rm -rf build rm -f stgit/*.pyc rm -f stgit/commands/*.pyc + rm -f TAGS + +tags: + ctags -e -R stgit/* + +.PHONY: all install doc test clean