<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/15030">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Makefile.asciidoc.inc: always run verbose asciidoc<br><br>a2x is a "toolchain manager" for asciidoc, that runs the asciidoc<br>command internally. Replace the previous logic of first running a2x<br>without any verbose flags, and on failure running asciidoc standalone,<br>with a verbose flag, to print the errors the occured. Always run a2x<br>with -vv, so it runs asciidoc in verbose mode.<br><br>This prevents losing the error message in case asciidoc or a2x fail<br>when running with a2x, but then asciidoc succeeds when running<br>standalone.<br><br>Related: OS#4132<br>Change-Id: I2cbd2985645ecdecc7851849be6a9a95d4b3246e<br>---<br>M build/Makefile.asciidoc.inc<br>1 file changed, 1 insertion(+), 2 deletions(-)<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/30/15030/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 1bed968..77f3b1d 100644</span><br><span>--- a/build/Makefile.asciidoc.inc</span><br><span>+++ b/build/Makefile.asciidoc.inc</span><br><span>@@ -73,8 +73,7 @@</span><br><span>                and remove three lines starting with '% \"DRAFT\" on first page'\n" \</span><br><span>           || true</span><br><span>    TEXINPUTS="$(OSMO_GSM_MANUALS_DIR)" \</span><br><span style="color: hsl(0, 100%, 40%);">-         a2x $(A2X_OPTS) $(notdir $<) || (echo "ERROR: a2x failed! Running asciidoc to get verbose errors..."; \</span><br><span style="color: hsl(0, 100%, 40%);">-                    asciidoc -v $(ASCIIDOC_OPTS) $(notdir $<); exit 1)</span><br><span style="color: hsl(120, 100%, 40%);">+         a2x -vv $(A2X_OPTS) $(notdir $<)</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/c/osmo-gsm-manuals/+/15030">change 15030</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/c/osmo-gsm-manuals/+/15030"/><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-Change-Id: I2cbd2985645ecdecc7851849be6a9a95d4b3246e </div>
<div style="display:none"> Gerrit-Change-Number: 15030 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>