]> git.proxmox.com Git - pve-qemu.git/blobdiff - Makefile
d/control: libaio1 is added by dh shlibs
[pve-qemu.git] / Makefile
index 497c6f3bf92d431f963d122abfd254611dfa0b0e..8be47218ffab1a4f66eebeb4bd8a941562b91ad8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ submodule:
        test -f "${SRCDIR}/configure" || git submodule update --init --recursive
 
 $(BUILDDIR): keycodemapdb | submodule
+       # check if qemu/ was used for a build
+       # if so, please run 'make distclean' in the submodule and try again
+       test ! -f $(SRCDIR)/build/config.status
        rm -rf $(BUILDDIR)
        cp -a $(SRCDIR) $(BUILDDIR)
        cp -a debian $(BUILDDIR)/debian
@@ -46,7 +49,7 @@ update:
 
 .PHONY: upload
 upload: $(DEBS)
-       tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload --product pve --dist buster
+       tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload --product pve --dist bullseye
 
 .PHONY: distclean clean
 distclean: clean