From owner-freebsd-doc Mon May 17 13:49: 4 1999 Delivered-To: freebsd-doc@freebsd.org Received: from baerenklau.de.freebsd.org (baerenklau.de.freebsd.org [195.185.195.14]) by hub.freebsd.org (Postfix) with ESMTP id 669F815677; Mon, 17 May 1999 13:49:00 -0700 (PDT) (envelope-from wosch@panke.de.freebsd.org) Received: (from uucp@localhost) by baerenklau.de.freebsd.org (8.8.8/8.8.8) with UUCP id WAA22221; Mon, 17 May 1999 22:48:48 +0200 (CEST) (envelope-from wosch@panke.de.freebsd.org) Received: (from wosch@localhost) by paula.panke.de.freebsd.org (8.9.3/8.8.8) id WAA01563; Mon, 17 May 1999 22:43:55 +0200 (CEST) (envelope-from wosch) Message-ID: <19990517224354.26511@panke.de.freebsd.org> Date: Mon, 17 May 1999 22:43:54 +0200 From: Wolfram Schneider To: Nik Clayton Cc: nclayton@lehman.com, Satoshi - Ports Wraith - Asami , doc@FreeBSD.ORG Subject: Re: Can't build handbook References: <19990508141141.A20366@holly.dyndns.org> <19990508231333.45191@panke.de.freebsd.org> <19990510111306.I14492@lehman.com> <199905110749.AAA28713@silvia.hip.berkeley.edu> <19990513130423.49638@panke.de.freebsd.org> <19990513124039.N14492@lehman.com> <19990515190712.02032@panke.de.freebsd.org> <19990517193950.A2496@catkin.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <19990517193950.A2496@catkin.nothing-going-on.org>; from Nik Clayton on Mon, May 17, 1999 at 07:39:50PM +0100 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 1999-05-17 19:39:50 +0100, Nik Clayton wrote: > Here's a trivial patch which does this. Anyone want to add any more > smarts to it before I commit it? > +.BEGIN: > +.if !defined(DOC_PREFIX) || empty(DOC_PREFIX) > +.if exists(/usr/doc) > +DOC_PREFIX=/usr/doc Better check if /usr/doc/doc/share/mk/docproj.docbook.mk exists. The directory /usr/doc may be empty ... > +.else > + @echo "You must define the DOC_PREFIX variable. This should contain" > + @echo "the path to the top of your checked out doc/ repository. For" > + @echo "example, \"make DOC_PREFIX=/usr/doc\", if that is where the" > + @echo "documentation has been checked out to." > + @exit 1 > +.endif > +.endif -- Wolfram Schneider http://wolfram.schneider.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message