]> git.proxmox.com Git - pve-qemu.git/blobdiff - Makefile
buildsys: recursively init submodule and correct its path
[pve-qemu.git] / Makefile
index 93301b1f4748f0984ace246618f91bc2d72d39be..570fdb96fc82fc21ca826e4de13a8cc03d8496fa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ all: $(DEBS)
 
 .PHONY: submodule
 submodule:
-       test -f "${SRCDIR}/debian/changelog" || git submodule update --init
+       test -f "${SRCDIR}/configure" || git submodule update --init --recursive
 
 $(BUILDDIR): keycodemapdb | submodule
        rm -rf $(BUILDDIR)