<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11722">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Makefile.asciidoc.inc: always exit 1 on a2x error<br><br>a2x wraps asciidoc. When a2x fails, we run asciidoc without a2x to<br>print verbose output. Make sure that 'make' fails at this point, even<br>if asciidoc runs through.<br><br>Change-Id: I30931303ecc6094efaedcb08380433a34211a169<br>---<br>M build/Makefile.asciidoc.inc<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/22/11722/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/build/Makefile.asciidoc.inc b/build/Makefile.asciidoc.inc</span><br><span>index a28a5bb..ee7a60d 100644</span><br><span>--- a/build/Makefile.asciidoc.inc</span><br><span>+++ b/build/Makefile.asciidoc.inc</span><br><span>@@ -57,7 +57,8 @@</span><br><span>        NOTE: TO REMOVE DRAFT MODE, YOU NEED TO EDIT build/custom-dblatex.sty\n\</span><br><span>           and remove three lines starting with '% \"DRAFT\" on first page'\n" \</span><br><span>           || true</span><br><span style="color: hsl(0, 100%, 40%);">-       a2x $(A2X_OPTS) $< || asciidoc -v $(ASCIIDOC_OPTS) $<</span><br><span style="color: hsl(120, 100%, 40%);">+   a2x $(A2X_OPTS) $< || (echo "ERROR: a2x failed! Running asciidoc to get verbose errors..."; \</span><br><span style="color: hsl(120, 100%, 40%);">+            asciidoc -v $(ASCIIDOC_OPTS) $<; exit 1)</span><br><span> </span><br><span> check: $(ASCIIDOC_CHECKS)</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11722">change 11722</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11722"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-manuals </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I30931303ecc6094efaedcb08380433a34211a169 </div>
<div style="display:none"> Gerrit-Change-Number: 11722 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>