Re: Inconsistent VPATH behavior ..

2003-03-10 Thread Harsha Kalidindi
Paul: %% Harsha Kalidindi <[EMAIL PROTECTED]> writes: >> GNU make works exactly as I've described above: first it looks for the >> pathname exactly as it is given in the makefile. hk> Breakthrough. No more failure to communicate. This is the nub of hk> the issue .. >> If that doesn't ex

Re: Inconsistent VPATH behavior ..

2003-03-10 Thread Paul D. Smith
%% Harsha Kalidindi <[EMAIL PROTECTED]> writes: >> GNU make works exactly as I've described above: first it looks for the >> pathname exactly as it is given in the makefile. hk> Breakthrough. No more failure to communicate. This is the nub of hk> the issue .. >> If that doesn't exist,

Re: Inconsistent VPATH behavior ..

2003-03-10 Thread Harsha Kalidindi
Paul: %% Harsha Kalidindi <[EMAIL PROTECTED]> writes: >> If you run "make install", then make says "OK, I need to build >> ../install/scripts/foo". It looks to see if that file exists. If it >> does, then VPATH is never consulted. hk> We expect the above behavior. >> If it doesn't ex

Re: Inconsistent VPATH behavior ..

2003-03-09 Thread Paul D. Smith
%% Harsha Kalidindi <[EMAIL PROTECTED]> writes: >> If you run "make install", then make says "OK, I need to build >> ../install/scripts/foo". It looks to see if that file exists. If it >> does, then VPATH is never consulted. hk> We expect the above behavior. >> If it doesn't exist, t

Re: Inconsistent VPATH behavior ..

2003-03-09 Thread Harsha Kalidindi
Paul: But you've left out, again, the most important part of your makefile (this is why I am asking you to create a small _complete_ example that shows the behavior you have a problem with). After you see the below comments, if you still want me to, I will create a complete example. Reme

Re: Inconsistent VPATH behavior ..

2003-03-09 Thread Paul D. Smith
%% Harsha Kalidindi <[EMAIL PROTECTED]> writes: hk> ../install/scripts/% : % hk> $(INSTALL) -m 444 $(<) $(@) hk> gmake is looking in $(VPATH)/../install/scripts. We are not hk> expecting it to. We expect it to look in VPATH only for sources hk> when they don't

Re: Inconsistent VPATH behavior ..

2003-02-24 Thread Harsha Kalidindi
Paul: VPATH is useful only to find source files from the destination directory, it cannot be used to find destination files from the source directory. I think that's what your trying to do here: run make in the source directory and put the results in a different directory. VPATH cannot be used in

Re: Inconsistent VPATH behavior ..

2003-02-24 Thread Paul D. Smith
VPATH is useful only to find source files from the destination directory, it cannot be used to find destination files from the source directory. I think that's what your trying to do here: run make in the source directory and put the results in a different directory. VPATH cannot be used in that

Inconsistent VPATH behavior ..

2003-02-24 Thread Harsha Kalidindi
Hi: I could not get help on the help-make list. Please let me know if I should explain the issue further .. We are using GNU make 3.79.1. There is a GNUmakefile in /user/u/src that has a rule like this: install_scripts: ../install/scripts/scr.pl ../insta