buildsys: derive upload dist automatically and avoid bogus check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ff7fd641ac
commit
e36407c29e
7
Makefile
7
Makefile
@ -55,10 +55,9 @@ sbuild: $(DSC)
|
||||
sbuild $<
|
||||
|
||||
.PHONY: upload
|
||||
upload: $(DEB) check
|
||||
# check if working directory is clean
|
||||
git diff --exit-code --stat && git diff --exit-code --stat --staged
|
||||
tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pve --dist bullseye
|
||||
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
|
||||
upload: $(DEB)
|
||||
tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST)
|
||||
|
||||
.PHONY: install
|
||||
install: vzdump-hook-script.pl
|
||||
|
Loading…
x
Reference in New Issue
Block a user