help-make
[Top][All Lists]
Advanced

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

Re: How to detect program path?


From: Eli Zaretskii
Subject: Re: How to detect program path?
Date: Mon, 15 Aug 2011 16:01:11 +0300

> Date: Mon, 15 Aug 2011 20:38:29 +0800
> From: narke <address@hidden>
> Cc: address@hidden
> 
> > There's a program called "which" that will show the full absolute name
> > of a program, assuming that the program is on your PATH.
> 
> Yes, but it has to ask users to add the programs into the PATH.

If the program is not on PATH, then you invoke it from Make by its
full file name with leading directories, right?  In that case, using
the `realpath' or `abspath' functions of Make will do what you want.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]