Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 1995 16:24:07 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        mark@linus.demon.co.uk, freebsd-bugs@freefall.cdrom.com
Subject:   Re: misc/484: usr.sbin/Makefile problem with SUBDIR
Message-ID:  <199506062324.QAA00519@gndrsh.aac.dev.com>
In-Reply-To: <199506050054.KAA09497@godzilla.zeta.org.au> from "Bruce Evans" at Jun 5, 95 10:54:09 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> >> 	"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:

Your right, the make file should be .if target(clean) instead of
.if make(clean).

I will make a tree sweep for this bug ofter 2.0.5R rolls out the door.

> Bruce
> 
> --------
> makefile
> --------
> SUBDIR=foo
> 
> .if make(clean)
> SUBDIR+= config.new
> .endif
> 
> clean:
> 	echo $(SUBDIR)
> 
> install:
> 	echo $(SUBDIR)
> 


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506062324.QAA00519>