mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2025-02-07 13:03:08 +00:00
(snap_deps): Fix last change.
This commit is contained in:
parent
640c4ecd99
commit
9d36c92adb
1 changed files with 20 additions and 12 deletions
32
file.c
32
file.c
|
@ -381,24 +381,32 @@ snap_deps ()
|
||||||
}
|
}
|
||||||
|
|
||||||
f = lookup_file (".EXPORT_ALL_VARIABLES");
|
f = lookup_file (".EXPORT_ALL_VARIABLES");
|
||||||
export_all_variables = f != 0 && f->is_target;
|
if (f != 0 && f->is_target)
|
||||||
|
export_all_variables = 1;
|
||||||
|
|
||||||
f = lookup_file (".IGNORE");
|
f = lookup_file (".IGNORE");
|
||||||
if (f->deps == 0)
|
if (f != 0 && f->is_target)
|
||||||
ignore_errors_flag |= f != 0 && f->is_target;
|
{
|
||||||
else
|
if (f->deps == 0)
|
||||||
for (d = f->deps; d != 0; d = d->next)
|
ignore_errors_flag = 1;
|
||||||
d->file->command_flags |= COMMANDS_NOERROR;
|
else
|
||||||
|
for (d = f->deps; d != 0; d = d->next)
|
||||||
|
d->file->command_flags |= COMMANDS_NOERROR;
|
||||||
|
}
|
||||||
|
|
||||||
f = lookup_file (".SILENT");
|
f = lookup_file (".SILENT");
|
||||||
if (f->deps == 0)
|
if (f != 0 && f->is_target)
|
||||||
silent_flag |= f != 0 && f->is_target;
|
{
|
||||||
else
|
if (f->deps == 0)
|
||||||
for (d = f->deps; d != 0; d = d->next)
|
silent_flag = 1;
|
||||||
d->file->command_flags |= COMMANDS_SILENT;
|
else
|
||||||
|
for (d = f->deps; d != 0; d = d->next)
|
||||||
|
d->file->command_flags |= COMMANDS_SILENT;
|
||||||
|
}
|
||||||
|
|
||||||
f = lookup_file (".POSIX");
|
f = lookup_file (".POSIX");
|
||||||
posix_pedantic = f != 0 && f->is_target;
|
if (f != 0 && f->is_target)
|
||||||
|
posix_pedantic = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set the `command_state' member of FILE and all its `also_make's. */
|
/* Set the `command_state' member of FILE and all its `also_make's. */
|
||||||
|
|
Loading…
Reference in a new issue