On 31.10.2005, at 13:42, Kaspar Fischer wrote:
> I found a solution. It is not nice, but it works: I changed > the makefile to look like this: [snip] > ... bash --login latexmk -pdf airs-manual > > With the --login, bash executes ~/.profile and afterwars latexml > is a known command. > > I would have preferred a solution that does not change my > makefile...
Kaspar,
You can include the PATH value in your target settings for the target that calls make. Edit the target settings, you will see Build Tool: /usr/bin/make. Underneath that is a text field to enter Arguments to make. The default is already there as " $(ACTION) ". Change the Arguments field to " PATH=/usr/local/bin:/other/paths/bin:$PATH $(ACTION)"
This way you can set the PATH that make uses for the build, without having to change the makefile. Now your make can find it's tools.
|