chiark / gitweb /
Add a "make tags" target
[stgit] / Makefile
index 8cd5813ae77033eb4af604be22ab56bfcd06bf08..d6c0b56a7ad4428a0b59cfc5b265e10884c22d71 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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