From owner-cvs-all Sun Mar 4 15:40: 7 2001 Delivered-To: cvs-all@freebsd.org Received: from baerenklau.de.freebsd.org (baerenklau.de.freebsd.org [195.185.195.14]) by hub.freebsd.org (Postfix) with ESMTP id 6607E37B719; Sun, 4 Mar 2001 15:39:58 -0800 (PST) (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 AAA10496; Mon, 5 Mar 2001 00:39:57 +0100 (CET) (envelope-from wosch@panke.de.freebsd.org) Received: (from wosch@localhost) by paula.panke.de.freebsd.org (8.9.3/8.8.8) id WAA01618; Sun, 4 Mar 2001 22:32:55 +0100 (CET) (envelope-from wosch) Date: Sun, 4 Mar 2001 22:32:55 +0100 From: Wolfram Schneider To: Nik Clayton Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: www/en/docs Makefile Message-ID: <20010304223255.A1254@paula.panke.de.freebsd.org> References: <200102241804.f1OI4Ap34648@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200102241804.f1OI4Ap34648@freefall.freebsd.org>; from nik@FreeBSD.org on Sat, Feb 24, 2001 at 10:04:10AM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2001-02-24 10:04:10 -0800, Nik Clayton wrote: > nik 2001/02/24 10:04:10 PST > > Modified files: > en/docs Makefile > Log: > unset(1) returns '1' if the variable doesn't exist, so use the '||' > operator rather than the '&&' operator. this is hard to read shell code: all install clean: (cd ../../../doc/en_US.ISO_8859-1 && unset DESTDIR || ${MAKE} FORMATS=ht ml-split DOCDIR=${DESTDIR}/data/docs ${.TARGET}) what does it mean? 1. unset the variable DESTDIR and execute the targets in the directory ../../../doc/en_US.ISO_8859-1 2. build the targets in the directory ../../../doc/en_US.ISO_8859-1 only if the variable DESTDIR is not set 3. override the environment variable DESTDIR, but not the make variable DESTDIR 4. ??? -Wolfram To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message