From owner-freebsd-doc Mon Dec 27 11:42: 8 1999 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id D9CE5152D6 for ; Mon, 27 Dec 1999 11:41:52 -0800 (PST) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.9.3/8.9.3) id TAA81807; Mon, 27 Dec 1999 19:14:15 GMT (envelope-from nik) Date: Mon, 27 Dec 1999 19:14:14 +0000 From: Nik Clayton To: Mark Ovens Cc: doc@freebsd.org Subject: Re: Building the docs with make(1) in emacs Message-ID: <19991227191414.A80910@catkin.nothing-going-on.org> References: <19991223185253.D327@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19991223185253.D327@marder-1>; from Mark Ovens on Thu, Dec 23, 1999 at 06:52:53PM +0000 Organization: FreeBSD Project Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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