From 99d7c1d5bbf05a544ecf20908b40ffe8540033d4 Mon Sep 17 00:00:00 2001 From: Timothy Allen Date: Sat, 19 May 2007 20:17:34 +1000 Subject: [PATCH] Add support for a tags file to the build system. - tags built with 'make tags' - tags removed with 'make clean' - tags ignored by git --- .gitignore | 1 + Makefile | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c862af8..cd04a4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.o cvsps +tags diff --git a/Makefile b/Makefile index 05ca856..94afa3e 100644 --- a/Makefile +++ b/Makefile @@ -32,8 +32,11 @@ install: install cvsps $(prefix)/bin install -m 644 cvsps.1 $(prefix)/share/man/man1 +tags: *.c *.h cbtcommon/*.c cbtcommon/*.h + ctags *.c *.h cbtcommon/*.c cbtcommon/*.h + clean: - rm -f cvsps *.o cbtcommon/*.o core + rm -f cvsps *.o cbtcommon/*.o core tags .PHONY: install clean # DO NOT DELETE -- 2.11.4.GIT