Parcourir la source

filter out bogus lines in ctags output

Samuel Thibault il y a 10 ans
Parent
commit
391d3347a6
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Makefile.am

+ 2 - 1
Makefile.am

@@ -157,7 +157,8 @@ showcheck:
 	done
 
 ctags-local:
-	$(CTAGS) -R -I LIST_TYPE
+	cd $(top_srcdir) ; $(CTAGS) -R -I LIST_TYPE
+	sed -i $(top_srcdir)/tags -e '/^[^	]* [^	]*	/d' -e '/^[^	]*$$/d' 
 
 
 # Cyclomatic complexity reports.