[master] 22035ff Add cscope support
Tollef Fog Heen
tfheen at varnish-cache.org
Fri May 24 12:23:36 CEST 2013
commit 22035ff1cddb58a1237d7c717b90e52db3784ae1
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Thu May 23 09:47:19 2013 +0200
Add cscope support
diff --git a/.gitignore b/.gitignore
index 4ec89a6..cc3ac5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,6 +36,7 @@ Makefile.in
/stamp-h1
/varnishapi.pc
TAGS
+cscope.*out
# Default vcl made from bin/varnishd/default.vcl
/bin/varnishd/default_vcl.h
diff --git a/Makefile.am b/Makefile.am
index 44b2481..87bbe7a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,7 @@ SUBDIRS += redhat
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = varnishapi.pc
+CLEANFILES = cscope.in.out cscope.out cscope.po.out
EXTRA_DIST = LICENSE autogen.sh varnishapi.pc.in
DISTCHECK_CONFIGURE_FLAGS = \
@@ -34,3 +35,10 @@ distcheck-hook:
distcleancheck_listfiles = \
find . -type f -exec sh -c 'test -f $(srcdir)/$$1 || echo $$1' \
sh '{}' ';'
+
+cscope:
+ -rm -f cscope*
+ find . -name '*.[hcS]' > cscope.files
+ cscope -b
+
+.PHONY: cscope
More information about the varnish-commit
mailing list