tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: make -V



> No problem.  It would seem the consensus is leave things as is.
> It would have been useful to not have to re-work all the freebsd ports
> collection - which relies on make -V PKGNAME doing full expansion.

i agree it's more annoying having to type "make -V '${VAR}'" than 
without the quoting, but i think it's way too late to change this.

personally, my trick looks like:

$ printf 'xxx:;@echo ${VAR}\n' | make -f - -f Makefile xxx

which doesn't require any change to the actual makefile, and works
with even ancient make(1)s i've not used for over a decade, but it's
a lot more typing than -V, either method :-)


.mrg.


Home | Main Index | Thread Index | Old Index