Doing "make clean all" in individual subdirectories is broken on 12-CURRENT: it doesn't run the "all". For example: [trasz@brick:~/svn/head]% cd usr.sbin/iscsid [trasz@brick:~/svn/head/usr.sbin/iscsid]% make clean all install rm -f iscsid iscsid.bc iscsid.ll iscsid.full iscsid.full.bc iscsid.debug iscsid.full.ll chap.o discovery.o iscsid.o keys.o log.o login.o pdu.o chap.bco discovery.bco iscsid.bco keys.bco log.bco login.bco pdu.bco chap.llo discovery.llo iscsid.llo keys.llo log.llo login.llo pdu.llo iscsid.8.gz iscsid.8.cat.gz install -s -o root -g wheel -m 555 iscsid /usr/sbin/iscsid install: iscsid: No such file or directory *** Error code 71 Stop. make: stopped in /usr/home/trasz/svn/head/usr.sbin/iscsid
A commit references this bug: Author: bdrewery Date: Tue Jun 20 20:52:07 UTC 2017 New revision: 320174 URL: https://svnweb.freebsd.org/changeset/base/320174 Log: Fix 'make clean all' to work again. This likely broke completely with r308599. Apply the same fix for 'make destroy' which is a DIRDEPS_BUILD thing. PR: 219819 Reported by: trasz MFC after: 3 days Sponsored by: Dell EMC Isilon Changes: head/share/mk/bsd.dep.mk head/share/mk/bsd.init.mk
A commit references this bug: Author: bdrewery Date: Fri Jun 23 20:38:21 UTC 2017 New revision: 320298 URL: https://svnweb.freebsd.org/changeset/base/320298 Log: MFC r320174,r320204: r320174: Fix 'make clean all' to work again. r320204: Fix various 'make *clean *all *install' combinations. PR: 219819 Approved by: re (gjb) Changes: _U stable/11/ stable/11/share/mk/bsd.dep.mk stable/11/share/mk/bsd.init.mk stable/11/sys/conf/kern.post.mk