From owner-freebsd-doc Mon Aug 12 10:39:32 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20F1737B400 for ; Mon, 12 Aug 2002 10:39:30 -0700 (PDT) Received: from mx3.datanet.hu (mx3.datanet.hu [194.149.13.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9060C43E6A for ; Mon, 12 Aug 2002 10:39:29 -0700 (PDT) (envelope-from sziszi@bsd.hu) Received: from fonix.adamsfamily.xx (nilus-1875.adsl.datanet.hu [195.56.95.97]) by mx3.datanet.hu (DataNet) with ESMTP id 4B77E1EA007 for ; Mon, 12 Aug 2002 19:39:22 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.5/8.12.5) with ESMTP id g7CHdKAm002808 for ; Mon, 12 Aug 2002 19:39:20 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.5/8.12.5/Submit) id g7CHdJ4s002807 for freebsd-doc@FreeBSD.ORG; Mon, 12 Aug 2002 19:39:19 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Mon, 12 Aug 2002 19:39:18 +0200 From: Szilveszter Adam To: freebsd-doc@FreeBSD.ORG Subject: Re: repetitive docs install? Message-ID: <20020812173917.GB2080@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , freebsd-doc@FreeBSD.ORG References: <20020811225529.GH2818@vectors.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020811225529.GH2818@vectors.cx> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Aug 11, 2002 at 03:55:29PM -0700, Adam Weinberger wrote: > this is occurring on each of my -STABLE machines, tracking the docproj > twice daily (i get bored a lot). > > couple weeks ago, my docs tree started doing a very repetative install > process. it goes: <...> > any thoughts? Yes please. I have noticed this problem on -CURRENT long time ago and apperantly this just hit the -STABLE tree as well. (Which is a good thing, hopefully it will be fixed now. At the time I wrote about this and no one bothered, presumably because there are not many people tracking the docs on -CURRENT. But I digress.) The short story is that there was a change in the base system .mk files (in bsd.subdir.mk) that causes the list of subdirectories to be traversed twice now, but in a recursive manner just as you saw. (The situation gets worse as the depth of the directory structure increases) The macros to watch out for are _SUBDIRUSE in doc/share/mk/doc.subdir.mk and _SUBDIR in src/share/mk/bsd.subdir.mk. They both do the same thing, so only one should remain. (preferably the one in the base). The same problem will appear with the website build as well BTW, there the file to change is www/share/mk/web.site.mk. (The macro is _PROGSUBDIR) I can supply patches if this is the route that the project wishes to take. In any event, I have done this and now, everything works as required. -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message