From 343891a8293edb254a8da16c71b1af748aaa4ea9 Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 23 Nov 2020 18:42:20 -0800 Subject: [PATCH] makefile tweaks --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c4e3eb0..5da4629 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ .PHONY: copy install -v = bztitanium_$(shell jq -r .version info.json) +pwd = $(shell pwd) +v = $(shell basename "$(pwd)")_$(shell jq -r .version info.json) copy: rm -rf ../$(v)