Module: sip-router
Branch: master
Commit: 8d5f8bbc2edaee9ccbe935d5f44fe4601281f060
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8d5f8bbc2edaee9ccbe935d5f44fe4601281f060

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to