summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-04-04 11:25:54 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-04-06 22:02:31 +0200
commit9452e62efb28acdadc916c00d39e7cd615d5c953 (patch)
tree13aa24e373004b6e1183dc598ae56b2c746635d7 /Makefile.in
parentf1bfc0621b9d86349a1878c1e64e96c5c7040786 (diff)
downloadlvm2-9452e62efb28acdadc916c00d39e7cd615d5c953.tar.gz
makefiles: cscope only predefined dirs
Avoid scanning for source duplicates in various build dirs.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index c0915fac7..69c73598e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -83,8 +83,9 @@ cflow: include.cflow
endif
ifneq ("@CSCOPE_CMD@", "")
+CSCOPE_DIRS = base daemons device_mapper include lib libdaemon scripts tools
cscope.out:
- @CSCOPE_CMD@ -b -R -s$(top_srcdir)
+ @CSCOPE_CMD@ -b -R $(patsubst %,-s%,$(addprefix $(srcdir)/,$(CSCOPE_DIRS)))
all: cscope.out
endif
DISTCLEAN_TARGETS += cscope.out