[PATCH v2] Makefile: Change the behavior of target "cscope"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make the "make cscope" only generate cscope index, not call the cscope.

Also fix a typo:
	cscope_out --> cscope.out

Acked-by: Kazuhito Hagio <k-hagio-ab@xxxxxxx>
Signed-off-by: Huang Shijie <shijie@xxxxxxxxxxxxxxxxxxxxxx>
---
v1 --> v2:
	Changed the title, added Kazu's Ack.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 2ca496d..007d030 100644
--- a/Makefile
+++ b/Makefile
@@ -639,10 +639,10 @@ ref:
 	$(MAKE) ctags cscope
 
 cscope:
-	rm -f cscope.files cscope_out
+	rm -f cscope.files cscope.out
 	for FILE in ${SOURCE_FILES}; do \
 	echo $$FILE >> cscope.files; done
-	cscope
+	cscope -b -f cscope.out
 
 glink: make_configure
 	@./configure -q -b
-- 
2.30.2


--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux