Add "tags" target to Makefile
authorCatalin Marinas <catalin.marinas@gmail.com>
Tue, 2 Dec 2008 11:05:27 +0000 (11:05 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 2 Dec 2008 11:05:55 +0000 (11:05 +0000)
We could only generate TAGS before. Also added these targets to .PHONY.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
Makefile

index 7183670..0fa5c6a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,10 @@ clean:
        rm -f stgit/commands/cmdlist.py
 
 tags:
+       ctags -R stgit/*
+
+TAGS:
        ctags -e -R stgit/*
 
-.PHONY: all build install doc install-doc install-html test test_patches clean
+.PHONY: all build install doc install-doc install-html test test_patches \
+       clean tags TAGS