<p>Hi,</p>

<p>I wanted to try running geany from source,<br>
so an <code>autogen.sh</code> and <code>make</code> later I've got it.</p>

<p>I run <code>src/geany</code>, skipping <code>make install</code> since I don't want to install it,<br>
it gives me the error Failed to open file '/usr/local/share/geany/geany.glade'.</p>

<p>I look around and find no option or environment variable to change the data directory, (something like <code>-c</code>)</p>

<p>The two options I found were:</p>

<ul>
<li><code>mkdir build && ./configure --prefix=$(pwd)/build && make && make install</code></li>
<li>changing in <a href="https://github.com/geany/geany/blob/master/src/utils.c#L2142">https://github.com/geany/geany/blob/master/src/utils.c#L2142</a> <code>GEANY_DATADIR</code> to <code>""</code>
</li>
</ul>

<p>neither are good.</p>

<p>Is there something to do to use a source version of geany that doesn't requires modifying the source code or installing it after each make?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/788">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJz2_Iuy9vdlY0xktXoXo-JbzmxXWks5pLzncgaJpZM4GtZ2H.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/788"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>