From 05aeaf1348369daaf832f317eee97c7a6d6cdd89 Mon Sep 17 00:00:00 2001
From: Benny Baumann <BenBE@geshi.org>
Date: Sun, 31 Mar 2019 23:06:24 +0200
Subject: [PATCH] chg: Fail on any lintian warnings

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 3de49d4..4f5e062 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,8 @@ style:
 	-astyle --mode=c --options=none --recursive -q -Q -s4 -f -j -k1 -W3 -p -U -H ${SRCDIR}/*.hpp
 
 lintian:
-	lintian --pedantic --profile debian --verbose --display-experimental
+	lintian --pedantic --profile debian --verbose --display-experimental --show-overrides
+	@if lintian --pedantic --profile debian --verbose --display-experimental --show-overrides 2>&1 | grep -q '^W:'; then false; fi
 
 install:
 	${INSTALL} -D -o root -g root -m 700 -t ${DESTDIR}${prefix}/bin ${TARGETS}
-- 
GitLab