From owner-cvs-all Wed Mar 21 23:34:42 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 6813837B720; Wed, 21 Mar 2001 23:34:24 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2M7Xip53763; Thu, 22 Mar 2001 09:33:44 +0200 (EET) (envelope-from ru) Date: Thu, 22 Mar 2001 09:33:43 +0200 From: Ruslan Ermilov To: Bruce Evans Cc: Robert Watson , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin Makefile.inc src/sbin/adjkerntz Makefile src/sbin/atacontrol Makefile src/sbin/atm/atm Makefile src/sbin/atm/fore_dnld Makefile src/sbin/atm/ilmid Makefile src/sbin/badsect Makefile src/sbin/camcontrol Makefile ... Message-ID: <20010322093343.A53063@sunbay.com> Mail-Followup-To: Bruce Evans , Robert Watson , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bde@zeta.org.au on Thu, Mar 22, 2001 at 05:49:14PM +1100 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 22, 2001 at 05:49:14PM +1100, Bruce Evans wrote: > On Wed, 21 Mar 2001, Robert Watson wrote: > > > This change appears to break a checkout of just a single directory (say, > > src/usr.sbin/watch) followed by a make in that directory, as no > > ../Makefile.inc exists because that wasn't checked out. In fact, on my > > I wish I had thought of that when I reviewed it. This seems to be > impossible to fix properly without reverting all the changes. There > just isn't enough context to determine the correct manpage extension > when the source directory is not in its usual tree. > > > -CURRENT box from yesterday, it appears to be broken even with a > > ../Makefile.inc present. Am I misunderstanding / have an oddly sync'd > > world/source tree? > > You might need Makefile.inc's all the way up to the level below `src', > but ../Makefile.inc is already at that level for `watch'. > > > fledge:/data/fbsd-commit/src/usr.sbin/watch> make > > Warning: Object directory not changed from original > > /data/fbsd-commit/src/usr.sbin/watch > > cc -O -pipe -c watch.c > > cc -O -pipe -o watch watch.o -ltermcap > > make: don't know how to make watch.1. Stop > > It is an old problem that `make install' doesn't work outside of an > almost full tree (mainly because BINDIR is not set). Failing at build > time is more of a problem. > The only workaround I can think of without reverting this all is -DNOMAN. I must admit I overlooked this also. :-( I am actually thinking of replacing the MAN[0-9] stuff with the single MAN variable, like in OpenBSD. Hopefully, in the absence of the MAN specification, I can come up with the code that would check the ${.CURDIR} for ${PROG}.([0-9]|1aout). Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message