]> git.proxmox.com Git - proxmox-acme.git/blobdiff - Makefile
bump version to 1.5.1
[proxmox-acme.git] / Makefile
index 8d3a6cb0fa7f04c1cf96cc9278913658d2669fe6..9c214bcdfa8962779a19fc73ed79459e498b8e2c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,14 +38,18 @@ $(DSC): $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
        lintian $(DSC)
 
+sbuild: $(DSC)
+       sbuild $(DSC)
+
 dinstall: $(DEBS)
        dpkg -i $(DEBS)
 
 .PHONY: clean
 clean:
-       rm -rf $(SRC)-*/ $(BUILDDIR).tmp *.deb *.buildinfo *.changes *.dsc *.tar.?z
+       rm -rf $(SRC)-*/ $(BUILDDIR).tmp *.deb *.buildinfo *.build *.changes *.dsc *.tar.?z
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEBS)
-       tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist bullseye
-       tar cf - $(DEB_ACME_PLUGS)|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist bullseye
+       tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist $(UPLOAD_DIST)
+       tar cf - $(DEB_ACME_PLUGS)|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist $(UPLOAD_DIST)