summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a7b7b4ed..3e8de940 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,9 +59,9 @@ dist-gitversion: git_version.stamp
git_version.h:
$(srcdir)/git_version.sh -k --srcdir $(srcdir) -o git_version.h
-.PHONY: cscope
cscope:
- git ls-files '*.cxx' '*.c' '*.h' | grep -v '^testsuite' > cscope.files
+ cd $(srcdir) && \
+ (echo -q ; git ls-files '*.cxx' '*.c' '*.h' | grep -v '^testsuite' ) > cscope.files && \
cscope -b -q