浏览代码

filter out bogus lines in ctags output

Samuel Thibault 10 年之前
父节点
当前提交
391d3347a6
共有 1 个文件被更改,包括 2 次插入1 次删除
  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.