mirror of
https://git.proxmox.com/git/proxmox-perl-rs
synced 2025-05-23 21:40:23 +00:00
buildsys: fix common upload target interpretation
FWICT there's no way to escape the comma directly, so use a intermediate variable to pass the correct value to the call Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
301bfb5b9a
commit
f337b67f4c
5
Makefile
5
Makefile
@ -100,8 +100,11 @@ pve-upload: pve-deb
|
|||||||
$(call upload_template,pve,pve)
|
$(call upload_template,pve,pve)
|
||||||
pmg-upload: pmg-deb
|
pmg-upload: pmg-deb
|
||||||
$(call upload_template,pmg,pmg)
|
$(call upload_template,pmg,pmg)
|
||||||
|
|
||||||
|
# need to put into variable to ensure comma isn't interpreted as param separator on call
|
||||||
|
common_target=pve,pmg
|
||||||
common-upload: common-deb
|
common-upload: common-deb
|
||||||
$(call upload_template,proxmox,pve\,pmg)
|
$(call upload_template,proxmox,$(common_target))
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user