From f337b67f4c2cea132e45e6781d456a0912e4487f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 25 Jul 2022 11:43:40 +0200 Subject: [PATCH] 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 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0b4ffdc..0836c9d 100644 --- a/Makefile +++ b/Makefile @@ -100,8 +100,11 @@ pve-upload: pve-deb $(call upload_template,pve,pve) pmg-upload: pmg-deb $(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 - $(call upload_template,proxmox,pve\,pmg) + $(call upload_template,proxmox,$(common_target)) .PHONY: clean clean: