shell function and $PATH

2015-12-17 Thread Cristian Morales Vega
When using this Makefile export PATH:=la:$(PATH) $(info $(shell echo $$PATH)) all: @echo $$PATH The output is $ make /usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin la:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/

Re: shell function and $PATH

2015-12-17 Thread Paul Smith
On Thu, 2015-12-17 at 09:17 +, Cristian Morales Vega wrote: > When using this Makefile > > > export PATH:=la:$(PATH) > > $(info $(shell echo $$PATH)) > > all: > @echo $$PATH > > The PATH is not being exported to the shell from $(shell), but it is > to the shell

Re: shell function and $PATH

2015-12-17 Thread Tim Murphy
Why not say $(shell PATH:=$(PATH) ; pkgconfig ..,) ? Regards, Tim On 17 Dec 2015 4:46 a.m., "Cristian Morales Vega" wrote: > When using this Makefile > > > export PATH:=la:$(PATH) > > $(info $(shell echo $$PATH)) > > all: > @echo $$PATH > > > The output is > $ ma

Re: shell function and $PATH

2015-12-17 Thread Cristian Morales Vega
On 17 December 2015 at 12:52, Paul Smith wrote: > On Thu, 2015-12-17 at 09:17 +, Cristian Morales Vega wrote: >> When using this Makefile >> >> >> export PATH:=la:$(PATH) >> >> $(info $(shell echo $$PATH)) >> >> all: >> @echo $$PATH >> > >> The PATH is not being e

Stop reading Makefile command?

2015-12-17 Thread Cristian Morales Vega
There is any way to say: "stop reading here, suppose this Makefile has no more contents, end the read-in phase and start the target-update phase"? ___ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make

Re: Stop reading Makefile command?

2015-12-17 Thread Paul Smith
On Thu, 2015-12-17 at 15:34 +, Cristian Morales Vega wrote: > There is any way to say: "stop reading here, suppose this Makefile > has no more contents, end the read-in phase and start the target > -update phase"? No, that's not possible. ___ Help-

Re: Stop reading Makefile command?

2015-12-17 Thread Paul Smith
On Thu, 2015-12-17 at 12:41 -0500, Paul Smith wrote: > On Thu, 2015-12-17 at 15:34 +, Cristian Morales Vega wrote: > > There is any way to say: "stop reading here, suppose this Makefile > > has no more contents, end the read-in phase and start the target > > -update phase"? > > No, that's not

Re: Stop reading Makefile command?

2015-12-17 Thread Cristian Morales Vega
On 17 December 2015 at 17:45, Paul Smith wrote: > On Thu, 2015-12-17 at 12:41 -0500, Paul Smith wrote: >> On Thu, 2015-12-17 at 15:34 +, Cristian Morales Vega wrote: >> > There is any way to say: "stop reading here, suppose this Makefile >> > has no more contents, end the read-in phase and sta