Date: Wed, 31 Jul 1996 21:27:50 +0200 (MET DST) From: "Ph. Charnier" <charnier@xp11.frmug.org> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/1451: Make world does `make obj' even if NOOBJDIR is defined Message-ID: <199607311927.VAA07383@xp11.frmug.org> Resent-Message-ID: <199607312110.OAA28384@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1451 >Category: misc >Synopsis: Make world does `make obj' even if NOOBJDIR is defined >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 31 14:10:04 PDT 1996 >Last-Modified: >Originator: Ph. Charnier >Organization: ------ ------ Philippe Charnier charnier@lirmm.fr (smtp) charnier@xp11.frmug.org (uucp) ``a PC not running FreeBSD is like a venusian with no tentacles'' ------------------------------------------------------------------------ >Release: FreeBSD 2.2-CURRENT i386 >Environment: >Description: There is IMHO a confusion between NOOBJDIR and NOOBJ. >How-To-Repeat: Run `make world' with NOOBJDIR (aka do not run ``${MAKE} obj'') defined in your /etc/make.conf. >Fix: Here is the fix, note that as I was here, I added some cosmetic changes in the first part of the patch. Index: Makefile =================================================================== RCS file: /home2h/FreeBSD.cvsroot/src/Makefile,v retrieving revision 1.91 diff -u -r1.91 Makefile --- Makefile 1996/07/27 21:47:42 1.91 +++ Makefile 1996/07/31 19:12:42 @@ -145,17 +145,15 @@ .if defined(NOCLEAN) @echo "Not cleaning anything! I sure hope you know what you are doing!" .else -.if defined(NOCLEANDIR) - cd ${.CURDIR} && ${MAKE} clean -.else - cd ${.CURDIR} && ${MAKE} cleandir -.endif + cd ${.CURDIR} && ${MAKE} ${CLEANDIR} .endif @echo -.if !defined(NOOBJ) @echo "--------------------------------------------------------------" @echo " Rebuilding the obj tree" @echo "--------------------------------------------------------------" +.if defined(NOOBJDIR) + @echo "Not building anything! I sure hope you know what you are doing!" +.else cd ${.CURDIR} && ${MAKE} obj .endif @echo >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607311927.VAA07383>