Revert part of the reverted commit that we want to keep.
[stgit] / Makefile
index 8cd5813..8671209 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-PREFIX = $(HOME)
-DESTDIR = /
-PYTHON = python
+PREFIX ?= $(HOME)
+DESTDIR        ?= /
+PYTHON ?= python
 
 all:
        $(PYTHON) setup.py build
@@ -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