]> git.proxmox.com Git - proxmox-mini-journalreader.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 May 2023 15:50:46 +0000 (17:50 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 May 2023 17:29:50 +0000 (19:29 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 0a35fe57cfed10679491179d83a076a59aa8825f..1a32c86441d8a4ddd45732a8310d7e4f9e3f3d44 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -44,5 +44,6 @@ clean:
        rm -rf $(PACKAGE)-[0-9]*/ *.deb *.buildinfo *.build *.changes *.dsc *.tar.*
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEBS)
-       tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye --arch $(DEB_BUILD_ARCH)
+       tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST) --arch $(DEB_BUILD_ARCH)