buildsys: recursively init submodule and correct its path

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-06-06 12:59:12 +02:00
parent 9be61fa466
commit d7722e1abe

View File

@ -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)