auc-tex and C-c C-c with Makefiles

Johan Glimming <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
Hi

Lately I have started to use a Makefile with each LaTeX document and 
divide them into many smaller subdocuments, which are 
compiled/preprocessed etc by make.

I am using emacs and AUCTeX so I wonder if I can somehow change emacs 
to start make when I press C-c C-c instead of latex. My "make" command 
defaults to making dvi and pdf, and then displaying the pdf on screen.

Finally, I am using Mac OS X, and when I use C-c C-c "Other" and "make" 
it compiles the LaTeX, but the "open" command which executes preview 
(in the Makefile this is) does _not_ open up a new window. It _does_ 
open a new window when run from command-line with "make" or "make show" 
with my Makefile, however, so I wonder what makes it not work under 
emacs (restricted shell??)

Thanks for any advise!

Johan Glimming.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.