]> git.proxmox.com Git - pve-eslint.git/blobdiff - Makefile
buildsys: derive upload dist automatically
[pve-eslint.git] / Makefile
index e24e37aad1a38244ce5efb671656bc568deb9320..5183a28383ce8ece4fc3379825cfc0357130e570 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,8 +64,9 @@ $(BUILDSRC): $(UPSTREAM) patches
        cd $@; npm run build:webpack
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product devel --dist bullseye
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product devel --dist $(UPLOAD_DIST)
 
 .PHONY: distclean
 distclean: clean