Makefile: add upload target
This commit is contained in:
parent
f374ba4c0b
commit
729e38f475
6
Makefile
6
Makefile
|
@ -113,3 +113,9 @@ install: $(COMPILED_BINS)
|
||||||
install -m755 $(COMPILEDIR)/$(i) $(DESTDIR)$(LIBEXECDIR)/proxmox-backup/ ;)
|
install -m755 $(COMPILEDIR)/$(i) $(DESTDIR)$(LIBEXECDIR)/proxmox-backup/ ;)
|
||||||
$(MAKE) -C www install
|
$(MAKE) -C www install
|
||||||
$(MAKE) -C docs 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
|
||||||
|
|
Loading…
Reference in New Issue