Date: Mon, 27 Dec 1999 19:14:14 +0000 From: Nik Clayton <nik@freebsd.org> To: Mark Ovens <mark@ukug.uk.freebsd.org> Cc: doc@freebsd.org Subject: Re: Building the docs with make(1) in emacs Message-ID: <19991227191414.A80910@catkin.nothing-going-on.org> In-Reply-To: <19991223185253.D327@marder-1>; from Mark Ovens on Thu, Dec 23, 1999 at 06:52:53PM %2B0000 References: <19991223185253.D327@marder-1>
index | next in thread | previous in thread | raw e-mail
On Thu, Dec 23, 1999 at 06:52:53PM +0000, Mark Ovens wrote:
> How do I build the docs tree from within emacs?
>
> If, with /usr/doc/en_US.ISO_8859-1/books/faq/book.sgml (or another doc
> sgml file) open in emacs, select ``Compile...'' from the Edit menu,
> change the default ``make -k'' in the minibuffer to ``make'', I get
> this in the *compilation* window:
>
> cd /usr/doc/en_US.ISO_8859-1/books/faq/
> make
> make: no target to make.
>
> Compilation exited abnormally with code 2 at Thu Dec 23 18:48:02
>
> Thinking that emacs may be using it's own ``make'' (gmake?) instead, I
> tried using the full path ``/usr/bin/make'', but got the same results.
>
> What is the cause, and how do I fix it?
Don't know. I use Xemacs, and the following sequence worked for me;
% cd ~/FreeBSD-CVS/doc/en_US.ISO_8859-1/books/faq
% xemacs book.sgml
and then "Tools -> Compile...", and change "make -k" to "make".
[ There is no "Compile..." option on the Xemacs "Edit" menu. ]
If I then do
% cd
% xemacs FreeBSD-CVS/doc/en_US.ISO_8859-1/books/faq/book.sgml
and then "Tools -> Compile...", and change "make -k" to "make", it still
works fine. So it's not related to the directory I start Xemacs in.
What happens if you change "make -k" to "pwd"? I would expect that to print
out the full path to book.sgml. If it doesn't, that's a good place to start
looking.
N
--
If you want to imagine the future, imagine a tennis shoe stamping
on a penguin's face forever.
--- with apologies to George Orwell
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991227191414.A80910>
