mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +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
|
endif
|
||||||
|
|
||||||
ifneq ("@CSCOPE_CMD@", "")
|
ifneq ("@CSCOPE_CMD@", "")
|
||||||
|
CSCOPE_DIRS = base daemons device_mapper include lib libdaemon scripts tools
|
||||||
cscope.out:
|
cscope.out:
|
||||||
@CSCOPE_CMD@ -b -R -s$(top_srcdir)
|
@CSCOPE_CMD@ -b -R $(patsubst %,-s%,$(addprefix $(srcdir)/,$(CSCOPE_DIRS)))
|
||||||
all: cscope.out
|
all: cscope.out
|
||||||
endif
|
endif
|
||||||
DISTCLEAN_TARGETS += cscope.out
|
DISTCLEAN_TARGETS += cscope.out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user