Module: sip-router
Branch: master
Commit: 8d5f8bbc2edaee9ccbe935d5f44fe4601281f060
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8d5f8bb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Dec 29 00:09:47 2012 +0100
Makefile: make TAGS skips the obsolete folder
- use make TAGS-ALL to include all the folders
---
Makefile.defs | 2 +-
Makefile.rules | 12 ++++++++----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/Makefile.defs b/Makefile.defs
index 77cd7a2..95623c5 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -270,7 +270,7 @@ CC_LONGVER:=$(shell if $(CC) -v 2>/dev/null; then \
else \
$(CC) -V 2>&1 ; \
fi )
-MKTAGS=ctags -R .
+MKTAGS=ctags
#find-out the compiler's name
diff --git a/Makefile.rules b/Makefile.rules
index 9870a77..0243284 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -288,10 +288,14 @@ clean_doxygen:
.PHONY: TAGS
TAGS:
- $(MKTAGS)
-
-
-
+ $(MKTAGS) --exclude="obsolete/*" -R .
+
+.PHONY: TAGS-ALL
+TAGS-ALL:
+ $(MKTAGS) -R .
+
+
+
ifeq (,$(MAKECMDGOALS))
-include $(depends)
else