From 729e38f4758cd7450732f9db7fb893f393918a1d Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 13 Dec 2019 10:35:43 +0100 Subject: [PATCH] Makefile: add upload target --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 55c599e4..634745b8 100644 --- a/Makefile +++ b/Makefile @@ -113,3 +113,9 @@ install: $(COMPILED_BINS) install -m755 $(COMPILEDIR)/$(i) $(DESTDIR)$(LIBEXECDIR)/proxmox-backup/ ;) $(MAKE) -C www install $(MAKE) -C docs install + +.PHONY: upload +upload: ${DEBS} + # check if working directory is clean + git diff --exit-code --stat && git diff --exit-code --stat --staged + tar cf - ${DEBS} | ssh -X repoman@repo.proxmox.com upload --product pbs --dist buster