Yuri writes:
 > On 12/26/17 19:38, Paul Smith wrote:
 > > If the BSD Ports framework is setting
 > > some variables "as if" they were provided on the command line,
 > 
 > 
 > But there is no such thing as "providing something as if on the command 
 > line".
 > 

 Paul just explained that there is a way to make a variable seem like
 it's set on the command line, when in fact it's not.

 Here's a simple Makefile:

   install:
          @echo $(alpha)
          @echo $(origin alpha)


 From the shell:

   export MAKEFLAGS="alpha=not-set-on-command-bline"
   make

     not-set-on-command-bline
     command line

 It's not a normal way of using Make, but it does deserve to be
 examined.

-- 
Festivus time!

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to