]> git.proxmox.com Git - pve-http-server.git/blobdiff - Makefile
bump version to 5.1.0
[pve-http-server.git] / Makefile
index 758f500dbfe74fc5333ceecf04478cf6900188a6..42258cafff5df6cd70fc014a5f4fa71dbca1badb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,9 +29,13 @@ $(DSC): $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -S -us -uc
        lintian $(DSC)
 
+sbuild: $(DSC)
+       sbuild $(DSC)
+
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist bullseye
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist $(UPLOAD_DIST)
 
 .PHONY: clean distclean
 distclean: clean
@@ -39,7 +43,7 @@ distclean: clean
 
 clean:
        $(MAKE) -C src $@
-       rm -rf $(PACKAGE)-*/ *.deb *.dsc *.tar.* *.changes *.buildinfo examples/simple-demo.lck
+       rm -rf $(PACKAGE)-*/ *.deb *.dsc *.tar.* *.changes *.build *.buildinfo examples/simple-demo.lck
 
 .PHONY: dinstall
 dinstall: $(DEB)