Closed XPhyro closed 3 years ago
Thanks for the pull request.
I haven't actually tried the request yet but I am wondering and am well aware of what a shell is but I do not know what the command is used for? Is this something that is only used in makefiles?
The previous syntax, "$(command)"
, was just substituting a variable called command
. Since such a variable did not exist, it was just substituting nothing and the test was always returning a 0 (i.e. true). The "$(shell command)"
syntax is special. It tells make
to evaluate command
, and substitute its output. This is indeed something that is special and is not valid shell (bash, sh, etc.) syntax. Notice that this is a GNU make
extension.
Thanks for clearing things up. Merged.
The Makefile has issues:
~/.config
does not exist,~/.config/lf
is not created.This pull request fixes these issues.