Re: [kvm-unit-tests PATCH] Fix check-kerneldoc for out of tree builds

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

 



On 03/05/2024 07.36, Nicholas Piggin wrote:
Search the source path rather than cwd.

Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>
---
I leave ctags and cscope targets not working, since I don't use those
tools and so don't have a test at hand. Being dev tools maybe(?) they
would only get used in the source directory anyway, whereas check
targets are useful for CI, etc.

It should be trivial to fix them up if we want though.

Thanks,
Nick
---

  Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index b0f7ad08b..5b7998b79 100644
--- a/Makefile
+++ b/Makefile
@@ -150,4 +150,4 @@ tags:
  	ctags -R
check-kerneldoc:
-	find . -name '*.[ch]' -exec scripts/kernel-doc -none {} +
+	find $(SRCDIR) -name '*.[ch]' -exec scripts/kernel-doc -none {} +

Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux