Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 1999 22:27:14 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Nik Clayton <nik@freebsd.org>
Cc:        doc@freebsd.org
Subject:   Re: Building the docs with make(1) in emacs
Message-ID:  <19991227222713.Q1290@marder-1>
In-Reply-To: <19991227191414.A80910@catkin.nothing-going-on.org>
References:  <19991223185253.D327@marder-1> <19991227191414.A80910@catkin.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 27, 1999 at 07:14:14PM +0000, Nik Clayton wrote:
> 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. ]
> 

You're right. I know it's Tools I was just testing :)

> 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.
> 

Hmm, I just tried it again and it worked :) Maybe I wasn't using emacs
as root before ( [note to self] must set up the title bar to show the user it's
running under). Mind you, I did a make world last night so maybe
something was wrong before (perms etc).

Thanks for the reply anyway.

> 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

-- 
	"there's a long-standing bug relating to the x86 architecture
	that allows you to install Windows too"
				   -Matthew D. Fuller
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org              http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991227222713.Q1290>