Go to file
pk d5e7cd89bf When making a node which is the source of both a .MADE target and a
normal target (the latter dependency being the reason why it's made),
the .MADE parent should not be put on the `toBeMade' list again (in
Make_Update()) since it was already put on it in Make_ExpandUse().
Doing so would cause the rules for the .MADE target to be executed
(at least) twice, and also mess up the unmade children count of _its_
parent, resulting in spurious graph cylce detection.

To achieve this, make sure the unmade children count of the .MADE target
is set to zero before enqueueing it on the `toBeMade' list in
Make_ExpandUse(). Then, in Make_Update(), check if the parent has the
.MADE attribute before diddling with the queue.

For the same reason the status of a node must not be set to UPTODATE
unconditionally in compat mode, since that will prevent the node from
being built even if it is the source of a normal target. Instead,
check both its state and the type of the parent to decide whether to
continue on behalf of the current parent.
2002-02-07 16:48:22 +00:00
bin .ifdef SMALLPROG, -DSMALL 2002-02-07 06:25:07 +00:00
crypto Mirror 32-bit alignment change in crypto/dist/heimdal/lib/roken/resolve.c. 2002-01-08 03:27:59 +00:00
dist Edit -mdoc usage. 2002-02-07 03:15:06 +00:00
distrib add list containing files used by sysinst, including dummy files that 2002-02-07 11:40:48 +00:00
etc Add share/man/html? and the lower machine directories. 2002-02-07 02:52:14 +00:00
games Be more verbose about teleports, and fix a minor problem in autobot mode. 2002-01-31 17:35:52 +00:00
gnu Punctuation nits, sort sections, sort SEE ALSO. 2002-02-06 19:24:52 +00:00
include Don't install <stdbool.h> for now. Lossage resulting from me testing 2002-02-04 08:51:26 +00:00
lib generate & symbolically 2002-02-07 09:24:04 +00:00
libexec Edit -mdoc usage. 2002-02-07 03:15:06 +00:00
regress just editing comments 2002-02-05 00:40:16 +00:00
sbin Edit -mdoc usage. 2002-02-07 03:15:06 +00:00
share Apply fix from PR's 14442 and 14441 from Robert Elz to make the install 2002-02-07 16:12:31 +00:00
sys Add quirks for Minolta S304. 2002-02-07 13:53:14 +00:00
tools remove btodb() hack now that makefs doesn't need it anymore. 2002-02-06 15:39:01 +00:00
usr.bin When making a node which is the source of both a .MADE target and a 2002-02-07 16:48:22 +00:00
usr.sbin Edit -mdoc usage. 2002-02-07 03:15:06 +00:00
build.sh chdir out of $tmpdir before removing it; some vendors' rm(1) programs will 2002-01-29 08:46:59 +00:00
BUILDING Document the -d option to build.sh 2001-11-25 18:40:34 +00:00
BUILDING.mdoc Document the -d option to build.sh 2001-11-25 18:40:34 +00:00
Makefile
Makefile.inc
UPDATING note addition of ntpd user/group. checked w/lukem 2002-01-30 06:54:55 +00:00