]> git.proxmox.com Git - pmg-log-tracker.git/blobdiff - Makefile
buildsys: derive upload dist automatically
[pmg-log-tracker.git] / Makefile
index f32434bd8f20620b6a949850b2a69fd5350a6ada..f9b54bec3f7b0fccb2c1cadd53cdd33b96bd40bf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,8 +58,9 @@ dinstall: $(DEB)
        dpkg -i $(DEB)
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB) $(DBG_DEB)
-       tar cf - $(DEB) $(DBG_DEB)| ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist bullseye --arch $(DEB_BUILD_ARCH)
+       tar cf - $(DEB) $(DBG_DEB)| ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST) --arch $(DEB_BUILD_ARCH)
 
 .PHONY: distclean
 distclean: clean