<p></p>
<p><b>@codebrainz</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2728#discussion_r559312324">Makefile.am</a>:</p>
<pre style='color:#555'>> @@ -37,6 +37,7 @@ uninstall-local:
 
 # manually install some files under another name
 install-data-local:
+       sed -i '/Exec=/c\Exec=@bindir@/geany %F' @top_builddir@/geany.desktop
</pre>
<p>Can't you just do this:</p>
<div class="highlight highlight-source-diff"><pre><span class="pl-md"><span class="pl-md">-</span> Exec=geany %F</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> Exec=@bindir@/geany %F</span></pre></div>
<p>In <a href="https://github.com/geany/geany/blob/d9f8cdbad58d09f0c18ca8acccb49209263018f0/geany.desktop.in#L7">the <code>geany.desktop.in</code> file</a> or similar?</p>
<p>I'm pretty sure if you added it to <code>AC_CONFIG_FILES</code> it would get the substitutions. But maybe I'm missing something of Geany's Autotools.</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/pull/2728#pullrequestreview-570165514">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2AIMH2ZW6Y55HF33TS2O3CTANCNFSM4WEW67UQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7QRZ36CYXZARR7P7TS2O3CTA5CNFSM4WEW67U2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEH6ASCQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2728#pullrequestreview-570165514",
"url": "https://github.com/geany/geany/pull/2728#pullrequestreview-570165514",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>