diff options
author | Joey Hess <joey@kitenet.net> | 2013-08-20 12:46:16 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-08-20 12:46:16 -0400 |
commit | 67b82f4b657afbdca04fc3ea4771c78b3d500f0f (patch) | |
tree | 1c5fd5498f18e78dbd2919f61195897ac3c3c5a5 /Debian/Debhelper/Buildsystem | |
parent | 71d06996481c6187b016c3b14b7e9faaf8adc432 (diff) |
makefile buildsystem: Tighten heuristic to detect if makefile target exists. An error message that some other target does not exist just means the makefile spaghetti has problems later on when run with -n, but not that the called target didn't exist. Closes: #718121
Diffstat (limited to 'Debian/Debhelper/Buildsystem')
-rw-r--r-- | Debian/Debhelper/Buildsystem/makefile.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Buildsystem/makefile.pm b/Debian/Debhelper/Buildsystem/makefile.pm index a7a3d429..dcc5da87 100644 --- a/Debian/Debhelper/Buildsystem/makefile.pm +++ b/Debian/Debhelper/Buildsystem/makefile.pm @@ -61,7 +61,7 @@ sub exists_make_target { return defined $output && length $output - && $output !~ /\*\*\* No rule to make target/; + && $output !~ /\*\*\* No rule to make target `\Q$target\E'/; } sub do_make { |