• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [xcode] make in external target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xcode] make in external target


  • Subject: Re: [xcode] make in external target
  • From: Brian Onn <email@hidden>
  • Date: Fri, 6 Jan 2006 06:35:14 -0800

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. 

Brian Onn
email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Close application event handling in I/O kit framework
  • Next by Date: Re: Xcode & Visual C++
  • Previous by thread: Close application event handling in I/O kit framework
  • Next by thread: Manually link framework
  • Index(es):
    • Date
    • Thread