Change in osmo-gsm-manuals[master]: build/Makefile.asciidoc.inc: detect more errors/warnings

fixeria gerrit-no-reply at lists.osmocom.org
Sat Apr 10 03:11:33 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/23694 )


Change subject: build/Makefile.asciidoc.inc: detect more errors/warnings
......................................................................

build/Makefile.asciidoc.inc: detect more errors/warnings

Change-Id: I91f48705c156755c31835aeb524c827b0dc9d100
Related: OS#5112
---
M build/Makefile.asciidoc.inc
1 file changed, 5 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/94/23694/1

diff --git a/build/Makefile.asciidoc.inc b/build/Makefile.asciidoc.inc
index 1b7375e..e2016a2 100644
--- a/build/Makefile.asciidoc.inc
+++ b/build/Makefile.asciidoc.inc
@@ -100,4 +100,8 @@
 	touch $(notdir $@)
 	# Do print the WARNING output but return error if any was found
 	# (grep -v would omit the WARNING output from the log).
-	@grep WARNING $(notdir $@) && exit 1 || exit 0
+	@grep \
+		-e "Error: no ID for constraint linkend:" \
+		-e "XRef to nonexistent id:" \
+		-e "WARNING" \
+		$(notdir $@) && exit 1 || exit 0

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/23694
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I91f48705c156755c31835aeb524c827b0dc9d100
Gerrit-Change-Number: 23694
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210410/2cb2789e/attachment.htm>


More information about the gerrit-log mailing list