]> diplodocus.org Git - nmh/commitdiff
Switch to using native automake rules for cscope.
authorKen Hornstein <kenh@pobox.com>
Wed, 2 Jan 2013 20:23:29 +0000 (15:23 -0500)
committerKen Hornstein <kenh@pobox.com>
Wed, 2 Jan 2013 20:23:29 +0000 (15:23 -0500)
.gitignore
Makefile.am

index 74b6aad338873f187d7ec81dace7acfb0b7deea0..0be1cc289c10fa2465882aacca9c568d3d9b9e12 100644 (file)
@@ -24,6 +24,8 @@
 /sbr/dtimep.c
 /cscope.files
 /cscope.out
 /sbr/dtimep.c
 /cscope.files
 /cscope.out
+/cscope.in.out
+/cscope.po.out
 
 # Removed by distclean:
 .deps/
 
 # Removed by distclean:
 .deps/
index c9bb3ee2f1950c20045f2df7088bfd32c947ba54..8307f17b6763678715d1a7357d19fcc8fba1a971 100644 (file)
@@ -97,7 +97,7 @@ clean-local:
 ##
 ## Stuff that should be cleaned via "make maintainer-clean"
 ##
 ##
 ## Stuff that should be cleaned via "make maintainer-clean"
 ##
-MAINTAINERCLEANFILES = cscope.files cscope.out
+MAINTAINERCLEANFILES = cscope.files cscope.out cscope.in.out cscope.po.out
 
 ##
 ## And our own superclean, to get everything left by maintainer-clean.
 
 ##
 ## And our own superclean, to get everything left by maintainer-clean.
@@ -594,14 +594,6 @@ rpm: dist
          -ba SPECS/nmh.spec
 .PHONY: rpm
 
          -ba SPECS/nmh.spec
 .PHONY: rpm
 
-##
-## A target to build information needed by cscope
-##
-cscope:
-       echo "-I $(srcdir)/h -I $(srcdir)/sbr -I $(srcdir)/uip -I $(srcdir)/mts/smtp" > cscope.files
-       find $(srcdir) \( -name docs -prune \) -o \( -name \*.c -o -name \*.l \) -print | grep -v dtimep.c >> cscope.files
-.PHONY: cscope
-
 
 ##
 ## Use GNU gcov to find the coverage of the test suite.
 
 ##
 ## Use GNU gcov to find the coverage of the test suite.