<blockquote>
<p>That's not really true, you can just fine host your GP fork wherever you want. </p>
</blockquote>

<p>With a fork of GP, you carry along all the extra files and git history and Github Issues and stuff of plugins you don't care about.</p>

<blockquote>
<p>what's the advantage of own separate build system that we couldn't get in GP</p>
</blockquote>

<p>Ability to use own (non-Autotools) build system, or to use non-recursive automake, or just to have a much simpler and light weight Autotools build system.</p>

<blockquote>
<p>And most people suck at Autotools</p>
</blockquote>

<p>Thats why special options like <code>--disable-all</code> in combination with <code>--enable-foo=yes</code> aren't ideal if a plugin wants a standalone distribution.</p>

<blockquote>
<p>But it still duplicates work</p>
</blockquote>

<p>It does, but it separates it too. GP requires special autoconf macros and boilerplate files and stuff, so it's not a huge deal having a separate non-GP specific (potentially Autotools) build system, IMO. The redundant boilerplate in GP becomes just like the boilerplate/metadata needed to put packages in a package manager, just a way to get an external plugin distributed with geany-plugins.</p>

<blockquote>
<p>but currently any external plugin that want to do things right have to re-implement a lot of GP's build system checks and features</p>
</blockquote>

<p>Is there really that much it would need to re-implement? Maybe some gettext stuff, possibly something like <code>--with-geany-libdir</code> and own check like <code>PKG_CHECK_MODULES([GEANY],[geany])</code>?</p>

<blockquote>
<p>You can probably use ACLOCAL_AMFLAGS = -Itherightdirectory in Makefile.am</p>
</blockquote>

<p>IIUC <a href="https://github.com/sardemff7" class="user-mention">@sardemff7</a> tried it and it still had the issue I experienced.</p>

<blockquote>
<p>I'm not sure it's possible to have several AC_CONFIG_MACRO_DIRS calls</p>
</blockquote>

<p>It takes multiple space-separated directories, presumably equivalent to multiple <code>AC_CONFIG_MACRO_DIR</code> calls, which is probably not valid. I think it requires new-ish Automake though.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/440#issuecomment-225371983">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJzw0JsGAiR8NzsBZ89yAlEEWsnWXks5qKt1tgaJpZM4Iyk9X">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ47RIuerBlx4NBzj2RdPhh-56mDUks5qKt1tgaJpZM4Iyk9X.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-plugins/pull/440#issuecomment-225371983"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>