<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 2:</p><p style="white-space: pre-wrap; word-wrap: break-word;">I lack some explanation on why this srcdir vs builddir automatic finding is needed. Why sometimes we pick from one and sometimes from another?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">In current source trees we always have the vty/foo_reference.xml committed in $srcdir.<br>If I now want to move osmo-bsc to generate the reference.xml instead during build, it will no longer be committed in $srcdir, but be generated in $builddir. This makes a difference when building in a separate location than the source tree: the scripts need to look in the right place every time.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I had a couple of iterations of figuring out how the vty reference building could best find the proper reference.xml file. This here seems the least fragile. If anyone knows a better way let me know.</p><p style="white-space: pre-wrap; word-wrap: break-word;">So a source tree can have a vty/foo_reference.xml either in $srcdir or a build target for it in $builddir. Same goes for vty-someother/someother_reference.xml.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/18362">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/18362">change 18362</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/+/18362"/><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: I613d692328050a036d05b49a436ab495fc2087ba </div>
<div style="display:none"> Gerrit-Change-Number: 18362 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 20 May 2020 12:09:04 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>