<blockquote>
<p>Because I'd have to re-install it after each change to the code.</p>
</blockquote>

<p>Actually, you don't.  You need data files to be installed, yes, but you don't need the actual executable to be.  To run the in-build-directory binary, use <em>libtool</em> (as most of the code is now in <em>libgeany</em>): <code>libtool --mode=execute src/geany</code>.</p>

<blockquote>
<p>Could the data folder be treated like the config folder, a default value you can override on the command line?</p>
</blockquote>

<p>That wouldn't make much sense, the location of Geany's data files are not something a user is supposed to want to change depending on the runs.  It's mostly part of Geany itself, not a runtime choice.  Basically, if you want to do that you're doing something wrong.</p>

<blockquote>
<p>With that there should be only dealing with <code>libgeany.so.0</code> left to make a portable version (launched through a bash script setting relative path).</p>
</blockquote>

<p>Ah, relocatable executable on Linux.  Well, fortunately for you, we do already have support for this, you just have to enable it with <code>--enable-binreloc</code> option on <code>./configure</code> call.  You still have to install the resulting build, but you'll be able to move the tree around (and can very well install wherever you want, either with <code>--prefix</code> or <code>DESTDIR</code>).<br>
Binary relocation isn't very well tested though, so feel free to report issues with it.</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#issuecomment-161657310">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5GUJ1hyXtB5yzzIKT1HyOfT1GHgks5pMEqHgaJpZM4GtZ2H.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#issuecomment-161657310"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>