From 67b82f4b657afbdca04fc3ea4771c78b3d500f0f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 20 Aug 2013 12:46:16 -0400 Subject: 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 --- Debian/Debhelper/Buildsystem/makefile.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian/Debhelper/Buildsystem') 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 { -- cgit v1.2.3