소스 검색

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.