Thread (40 messages) flat view 40 messages, 7 authors, 2021-08-04

RE: [PATCH 2/3] Makefile: fix "cscope" target to refer to cscope.out

From: Felipe Contreras <hidden>
Date: 2021-06-23 19:26:04

Ævar Arnfjörð Bjarmason wrote:
quoted hunk ↗ jump to hunk
--- a/Makefile
+++ b/Makefile
@@ -2737,10 +2737,11 @@ tags: FORCE
 	$(FIND_SOURCE_FILES) | xargs ctags -a -o tags+ && \
 	mv tags+ tags
 
+cscope.out:
+	$(FIND_SOURCE_FILES) | xargs cscope -f$@ -b
+
 .PHONY: cscope
-cscope:
-	$(RM) cscope*
-	$(FIND_SOURCE_FILES) | xargs cscope -b
+cscope: cscope.out
The reason for the $(RM) removal is not explained in the commit message.

Otherwise the pach looks good to me.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help