]> git.proxmox.com Git - extjs.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 28 May 2023 13:56:28 +0000 (15:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 28 May 2023 13:56:28 +0000 (15:56 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index e13868f33b96c43ae5a6b6dd643a4c98dcd6e0bf..4b0f967a73fdde738461031ede3a7ea9988709b2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,9 @@ sbuild: $(DSC)
        sbuild $(DSC)
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bookworm
+       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST)
 
 .PHONY: distclean clean
 distclean: clean