mirror of
https://github.com/mirror/make.git
synced 2025-01-14 14:20:20 +08:00
* src/remake.c (update_file_1): [SV 65999] Clarify debug output
This commit is contained in:
parent
4d883c414d
commit
8653c25fcf
15
src/remake.c
15
src/remake.c
@ -546,7 +546,12 @@ update_file_1 (struct file *file, unsigned int depth)
|
|||||||
check_renamed (file);
|
check_renamed (file);
|
||||||
noexist = this_mtime == NONEXISTENT_MTIME;
|
noexist = this_mtime == NONEXISTENT_MTIME;
|
||||||
if (noexist)
|
if (noexist)
|
||||||
|
{
|
||||||
|
if (file->phony)
|
||||||
|
DBF (DB_BASIC, _("Target '%s' is phony.\n"));
|
||||||
|
else
|
||||||
DBF (DB_BASIC, _("File '%s' does not exist.\n"));
|
DBF (DB_BASIC, _("File '%s' does not exist.\n"));
|
||||||
|
}
|
||||||
else if (is_ordinary_mtime (this_mtime) && file->low_resolution_time)
|
else if (is_ordinary_mtime (this_mtime) && file->low_resolution_time)
|
||||||
{
|
{
|
||||||
/* Avoid spurious rebuilds due to low resolution time stamps. */
|
/* Avoid spurious rebuilds due to low resolution time stamps. */
|
||||||
@ -570,6 +575,11 @@ update_file_1 (struct file *file, unsigned int depth)
|
|||||||
if (noexist)
|
if (noexist)
|
||||||
{
|
{
|
||||||
check_renamed (adfile);
|
check_renamed (adfile);
|
||||||
|
if (adfile->phony)
|
||||||
|
DBS (DB_BASIC,
|
||||||
|
(_("Grouped target peer '%s' of file '%s' is phony.\n"),
|
||||||
|
adfile->name, file->name));
|
||||||
|
else
|
||||||
DBS (DB_BASIC,
|
DBS (DB_BASIC,
|
||||||
(_("Grouped target peer '%s' of file '%s' does not exist.\n"),
|
(_("Grouped target peer '%s' of file '%s' does not exist.\n"),
|
||||||
adfile->name, file->name));
|
adfile->name, file->name));
|
||||||
@ -864,8 +874,13 @@ update_file_1 (struct file *file, unsigned int depth)
|
|||||||
else if (d_mtime == NONEXISTENT_MTIME)
|
else if (d_mtime == NONEXISTENT_MTIME)
|
||||||
{
|
{
|
||||||
if (ISDB (DB_BASIC))
|
if (ISDB (DB_BASIC))
|
||||||
|
{
|
||||||
|
if (d->file->phony)
|
||||||
|
fmt = _("Prerequisite '%s' of target '%s' is phony.\n");
|
||||||
|
else
|
||||||
fmt = _("Prerequisite '%s' of target '%s' does not exist.\n");
|
fmt = _("Prerequisite '%s' of target '%s' does not exist.\n");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (d->changed)
|
else if (d->changed)
|
||||||
{
|
{
|
||||||
if (ISDB (DB_BASIC))
|
if (ISDB (DB_BASIC))
|
||||||
|
Loading…
Reference in New Issue
Block a user