Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 1999 21:08:52 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        Nik Clayton <nik@nothing-going-on.demon.co.uk>
Cc:        Tom Hukins <tom@eborcom.com>, freebsd-doc@FreeBSD.ORG
Subject:   Re: docs/10099: Building the Web site without a local CVS repository
Message-ID:  <19990408210852.B11500@cs.tu-berlin.de>
In-Reply-To: <19990408193811.D39696@catkin.nothing-going-on.org>; from Nik Clayton on Thu, Apr 08, 1999 at 07:38:11PM %2B0100
References:  <199904061710.KAA74145@freefall.freebsd.org> <19990408142146.A29876@cs.tu-berlin.de> <19990408193811.D39696@catkin.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1999-04-08 19:38:11 +0100, Nik Clayton wrote:
> On Thu, Apr 08, 1999 at 02:21:46PM +0200, Wolfram Schneider wrote:
> > On 1999-04-06 10:10:02 -0700, Tom Hukins wrote:
> > >  --- en/copyright/Makefile.orig	Sat Oct 17 11:18:42 1998
> > >  +++ en/copyright/Makefile	Sun Feb 14 18:00:47 1999
> > >  @@ -16,7 +16,12 @@
> > >   # FreeBSD Ports redistribution restrictions
> > >   LEGAL= LEGAL
> > >   CLEANFILES+= ${LEGAL}
> > >  +.if defined(NOCVS)
> > 
> > should be
> > 
> >     .if defined(NOCVS) && !empty(NOCVS)
> > 
> > similar for all other Makefiles.
> > 
> > Without this patch there is no way to unset the variable
> > NOCVS.
> 
> I think this is only useful when you use the value of the variable 
> somewhere.  Tom's patches don't, they just care whether or not the 
> variable has been defined, the value is never used.
> 
> You would unset it by not defining it in the firstplace.  I don't think
> www/Makefile should contain something like
> 
>     NOCVS=no

Not in www/Makefile, but it can be set in www/Makefile.inc or 
www/Makefile.inc.local (not implemente yet)

Now there is no way on the commandline to unset the
variable because make has no -U option.

I don't want edit Makefile.inc every time if I test something.

Wolfram

> and expect you to override that with "NOCVS=yes" on the command line, 
> "-DNOCVS" is fine (although both would work).
> 
> N
> -- 
>                     Bagel: The carbohydrate with the hole

-- 
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?19990408210852.B11500>