]> git.proxmox.com Git - pve-storage.git/blobdiff - Makefile
fixup error messages when getting file size info
[pve-storage.git] / Makefile
index ce3d3bc51366892c4946aee7b5ea81ce14a16ccb..758463c0ac9a0556eb435e52def7542231d7f0af 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,8 +33,9 @@ clean:
        rm -rf $(PACKAGE)-[0-9]*/ *.deb *.dsc *.build *.buildinfo *.changes $(PACKAGE)*.tar.*
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
 
 dsc: $(DSC)
        $(MAKE) clean
@@ -43,3 +44,6 @@ dsc: $(DSC)
 
 $(DSC): $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
+
+sbuild: $(DSC)
+       sbuild $(DSC)