Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xcode] make in external target



I found a solution. It is not nice, but it works: I changed
the makefile to look like this:

  airs-manual.pdf:        airs-manual.tex
                          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...

Thanks all the same,
Kaspar

On 31.10.2005, at 13:42, Kaspar Fischer wrote:
Hi Chris,

Thanks for your answer.  When I saw it, I thought "of course,
that's it", but strangely, it does not work.  The output
in the XCode build transcript is

/usr/bin/make
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/sw/ bin"; \
echo /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin; \
latexmk -pdf manual
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
/bin/sh: line 1: latexmk: command not found
make: *** [manual.pdf] Error 127


(And I cannot drop the semicolons at the end of the individual
commands.) I also tried

/usr/bin/make
( export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/sw/ bin"; \
echo /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin; \
latexmk -pdf airs-manual )
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
/bin/sh: line 1: latexmk: command not found
make: *** [airs-manual.pdf] Error 127


I am lost here.
Regards,

Kaspar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Re: [xcode] make in external target (From: Chris Ridd <email@hidden>)
 >Re: [xcode] make in external target (From: Kaspar Fischer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.