X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/368a44c3761d46b5a085215a9ed6878da4e84fa6..ff432158b249307d44177db1adc569f726eefb18:/Makefile diff --git a/Makefile b/Makefile index 8cd5813..c890b8e 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ -PREFIX = $(HOME) -DESTDIR = / -PYTHON = python +PREFIX ?= $(HOME) +DESTDIR ?= / +PYTHON ?= python all: $(PYTHON) setup.py build install: - $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) + $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --force doc: cd Documentation && $(MAKE) all @@ -21,5 +21,9 @@ clean: 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