Date: Mon, 5 Jun 1995 10:54:09 +1000 From: Bruce Evans <bde@zeta.org.au> To: mark@linus.demon.co.uk, rgrimes@gndrsh.aac.dev.com Cc: freebsd-bugs@freefall.cdrom.com Subject: Re: misc/484: usr.sbin/Makefile problem with SUBDIR Message-ID: <199506050054.KAA09497@godzilla.zeta.org.au>
index | next in thread | raw e-mail
>> "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)
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506050054.KAA09497>
