[lvm-devel] [PATCH 4/6] Fix run of cscope in $(builddir)

Zdenek Kabelac zkabelac at redhat.com
Tue Mar 23 16:27:37 UTC 2010


Use $(top_srcdir) for sources and add cscope.out to distcleaning.

Signed-off-by: Zdenek Kabelac <zkabelac at redhat.com>
---
 Makefile.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 593500e..967b026 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -81,8 +81,9 @@ endif
 
 ifneq ("@CSCOPE_CMD@", "")
 cscope.out: tools
-	@CSCOPE_CMD@ -b -R
+	@CSCOPE_CMD@ -b -R $(top_srcdir)
 all: cscope.out
+DISTCLEAN_TARGETS += cscope.out
 endif
 
 check: all
-- 
1.7.0.1




More information about the lvm-devel mailing list