1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

makefiles: cscope only predefined dirs

Avoid scanning for source duplicates in various build dirs.
This commit is contained in:
Zdenek Kabelac 2021-04-04 11:25:54 +02:00
parent f1bfc0621b
commit 9452e62efb

View File

@ -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