From 11954b1a08fc1f536c897c7811e4810e9bd1f4e3 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 18 Apr 2024 22:02:26 +0200 Subject: [PATCH] buildsys: add upload target Signed-off-by: Thomas Lamprecht --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index a93f53a..e49e58f 100644 --- a/Makefile +++ b/Makefile @@ -67,3 +67,8 @@ clean: rm -f *.deb *.build *.buildinfo *.changes *.dsc $(PACKAGE)*.tar* rm -rf $(PACKAGE)-[0-9]*/ find . -name '*~' -exec rm {} ';' + +.PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) +upload: $(DEB) $(DBG_DEB) + tar cf - $(DEB) $(DBG_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)