Skip to contentSkip to conversation

tags: skip ./ in filenames

PATCH New Alexey Dobriyan 1 participant 1 message Sep 15, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tags: skip ./ in filenames

This drives size of tags file from 68.9 MB down to 67.7 MB.

---

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -1450,7 +1450,7 @@ define find-sources
 	       -name $1 -print; \
 	  find $(__srctree) $(RCS_FIND_IGNORE) \
 	       \( -name include -o -name arch -o -name '.tmp_*' \) -prune -o \
-	       -name $1 -print; \
+	       -name $1 -print | sed -e 's#^./##'; \
 	  )
 endef