Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 22:43:54 +0200
From:      Wolfram Schneider <wosch@panke.de.freebsd.org>
To:        Nik Clayton <nik@nothing-going-on.demon.co.uk>
Cc:        nclayton@lehman.com, Satoshi - Ports Wraith - Asami <asami@FreeBSD.ORG>, doc@FreeBSD.ORG
Subject:   Re: Can't build handbook
Message-ID:  <19990517224354.26511@panke.de.freebsd.org>
In-Reply-To: <19990517193950.A2496@catkin.nothing-going-on.org>; from Nik Clayton on Mon, May 17, 1999 at 07:39:50PM %2B0100
References:  <19990508141141.A20366@holly.dyndns.org> <XFMail.990508212539.jesusr@ncsa.es> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <wosch@freebsd.org> http://wolfram.schneider.org


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?19990517224354.26511>