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:
parent
f1bfc0621b
commit
9452e62efb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user