Makefile: make TAGS skips the obsolete folder
authorDaniel-Constantin Mierla <miconda@gmail.com>
Fri, 28 Dec 2012 23:09:47 +0000 (00:09 +0100)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Fri, 28 Dec 2012 23:09:47 +0000 (00:09 +0100)
- use make TAGS-ALL to include all the folders

Makefile.defs
Makefile.rules

index 77cd7a2..95623c5 100644 (file)
@@ -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
 
index 9870a77..0243284 100644 (file)
@@ -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