%% Dan Jacobson <[EMAIL PROTECTED]> writes:

  dj> In Info, one cannot find how to change PATH in a Makefile.
  dj> PATH=/usr/sbin:$(PATH) won't do without spelling out PATH.
  dj> The best one can do is once on each line:
  dj> P=PATH=/usr/sbin:$$PATH
  dj> a:
  dj>   $P; which faubackup

???

You can set PATH to a value that includes itself in the exact same way
you can set any other variable to a value that includes itself: you use
simply-expanded variables:

    PATH := /usr/sbin:$(PATH)

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to