Subject: bin/8313: "make all install" loses
To: None <>
From: VaX#n8 <>
List: netbsd-bugs
Date: 09/02/1999 22:35:46
>Number:         8313
>Category:       bin
>Synopsis:       make(1) loses with "make all install"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep  2 22:35:01 1999
>Originator:     VaX#n8
>Release:        2 Sep 1999
not for public consumption


"make all install" seems to completely avoid making the target program,
as though the "all" target were skipped.  One can also substitute the
name of the target program instead of all.

# cd /usr/src/bin/cat 
# ls
Makefile  cat.1     cat.c     obj
# make -n cat install
`cat' is up to date.
install -c -s -o root -g wheel  -m 555 cat /bin/cat
install -c -o root -g wheel -m 444 /mnt/sd5a/usr/src/bin/cat/cat.1 /usr/share/man/man1/cat.1
install -c -o root -g wheel -m 444 cat.cat1 /usr/share/man/cat1/cat.0
# ls -l obj/cat
ls: obj/cat: No such file or directory

# make -dA clean cat install 2>&1 | grep -2 'up to date'
clean:? = cleanprog
update time:   :17:59 Sep 03, 1999
`cat' is up to date.
Examining beforeinstall...non-existent....PHONY node...out-of-date.
beforeinstall:? = 

Do "make all" and "make install" as two commands.
Sorry, I can't track this one down right now, too tired.