From owner-freebsd-bugs Sun Jun 4 17:55:01 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA27423 for bugs-outgoing; Sun, 4 Jun 1995 17:55:01 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id RAA27414 for ; Sun, 4 Jun 1995 17:54:58 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id KAA09497; Mon, 5 Jun 1995 10:54:09 +1000 Date: Mon, 5 Jun 1995 10:54:09 +1000 From: Bruce Evans Message-Id: <199506050054.KAA09497@godzilla.zeta.org.au> To: mark@linus.demon.co.uk, rgrimes@gndrsh.aac.dev.com Subject: Re: misc/484: usr.sbin/Makefile problem with SUBDIR Cc: freebsd-bugs@freefall.cdrom.com Sender: bugs-owner@FreeBSD.org Precedence: bulk >> "make all" followed by "make install clean" fails in usr.sbin >> due to an attempt to install config.new. >How could of it possible attempted to ``install'' in config.new, the >only times it would go down into that tree is for clean, cleandir or >other targets with ${MACHINE}==sparc. config.new is in the clean SUBDIRs for all MACHINEs, so `make clean install' adds it to the SUBDIR list for all targets: Bruce -------- makefile -------- SUBDIR=foo .if make(clean) SUBDIR+= config.new .endif clean: echo $(SUBDIR) install: echo $(SUBDIR)