From owner-freebsd-doc Mon Dec 27 14:26:56 1999 Delivered-To: freebsd-doc@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id 36ED714DB6 for ; Mon, 27 Dec 1999 14:26:53 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 12866 invoked from network); 27 Dec 1999 22:26:50 -0000 Received: from useran59.uk.uudial.com (HELO marder-1.) (62.188.135.76) by smtp.dial.pipex.com with SMTP; 27 Dec 1999 22:26:50 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id WAA88932; Mon, 27 Dec 1999 22:27:14 GMT (envelope-from mark) Date: Mon, 27 Dec 1999 22:27:14 +0000 From: Mark Ovens To: Nik Clayton Cc: doc@freebsd.org Subject: Re: Building the docs with make(1) in emacs Message-ID: <19991227222713.Q1290@marder-1> References: <19991223185253.D327@marder-1> <19991227191414.A80910@catkin.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <19991227191414.A80910@catkin.nothing-going-on.org> Organization: Total lack of Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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