]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
Makefile: Fix gtags generation
authorPeter Xu <peterx@redhat.com>
Wed, 4 Aug 2021 13:23:27 +0000 (09:23 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Nov 2021 14:57:20 +0000 (15:57 +0100)
We should use "-print" or otherwise all "-prone" is ignored.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210804132328.41353-2-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile

index fe9415ac64ab83e7402b7bd37430ca6dfcdd81ec..1b36bf2af40dfaed1b14daecd25541d8b8404f5f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -256,7 +256,7 @@ gtags:
                "GTAGS", "Remove old $@ files")
        $(call quiet-command,                           \
                (cd $(SRC_PATH) &&                      \
-                $(find-src-path) | gtags -f -),        \
+                $(find-src-path) -print | gtags -f -), \
                "GTAGS", "Re-index $(SRC_PATH)")
 
 .PHONY: TAGS