mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-24 21:04:01 +00:00
entered into RCS
This commit is contained in:
parent
38abf5e6c4
commit
4394c7a32d
1 changed files with 9 additions and 1 deletions
10
implicit.c
10
implicit.c
|
@ -36,6 +36,14 @@ try_implicit_rule (file, depth)
|
||||||
{
|
{
|
||||||
DEBUGPR ("Looking for an implicit rule for `%s'.\n");
|
DEBUGPR ("Looking for an implicit rule for `%s'.\n");
|
||||||
|
|
||||||
|
/* The order of these searches was previously reversed. My logic now is
|
||||||
|
that since the non-archive search uses more information in the target
|
||||||
|
(the archive search omits the archive name), it is more specific and
|
||||||
|
should come first. */
|
||||||
|
|
||||||
|
if (pattern_search (file, 0, depth, 0))
|
||||||
|
return 1;
|
||||||
|
|
||||||
#ifndef NO_ARCHIVES
|
#ifndef NO_ARCHIVES
|
||||||
/* If this is an archive member reference, use just the
|
/* If this is an archive member reference, use just the
|
||||||
archive member name to search for implicit rules. */
|
archive member name to search for implicit rules. */
|
||||||
|
@ -47,7 +55,7 @@ try_implicit_rule (file, depth)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return pattern_search (file, 0, depth, 0);
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DEBUGP2(msg, a1, a2) \
|
#define DEBUGP2(msg, a1, a2) \
|
||||||
|
|
Loading…
Reference in a new issue