I have a small snippet to replace kvvm60
to main
in a directory path where it’s not working as expected.
<code>hello:= /home/kvvm60/foo/bar
$(info inside hello $(hello))
TEST := $(patsubst %kvvm60%,%main%,$(hello))
$(info test is $(TEST))
</code>
<code>hello:= /home/kvvm60/foo/bar
$(info inside hello $(hello))
TEST := $(patsubst %kvvm60%,%main%,$(hello))
$(info test is $(TEST))
</code>
hello:= /home/kvvm60/foo/bar
$(info inside hello $(hello))
TEST := $(patsubst %kvvm60%,%main%,$(hello))
$(info test is $(TEST))
Output:-
<code>inside hello /home/kvvm60/foo/bar
test is /home/kvvm60/foo/bar
make: *** No targets. Stop.
</code>
<code>inside hello /home/kvvm60/foo/bar
test is /home/kvvm60/foo/bar
make: *** No targets. Stop.
</code>
inside hello /home/kvvm60/foo/bar
test is /home/kvvm60/foo/bar
make: *** No targets. Stop.
Am i missing something