From d2ff0a855813e35f9ffdc61637654c6cb71268ad Mon Sep 17 00:00:00 2001
From: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Date: Wed, 31 Aug 2016 15:09:19 -0400
Subject: [PATCH] contrib: more clear error msg when .sum-xxx doesn't exist

Make clear message when a .sum-xxx target is not
defined in the rule.mak file of a contrib.
The old message wasn't explicit about the target name and was
not clear that "check" was the .sum-xxx target.

Change-Id: Ic7fba0881170f825ee79f13613f190a0e5851308
Reviewed-by: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
---
 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 58449bd6eb..66472b04a6 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -485,7 +485,7 @@ endif
 	touch $@
 
 .sum-%:
-	$(error Download and check target not defined for $*)
+	$(error Download and check '$@' target not defined for $* contrib)
 
 # Dummy dependency on found packages
 $(patsubst %,.dep-%,$(PKGS_FOUND)): .dep-%:
-- 
GitLab