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

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2728#discussion_r559542327">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><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/codebrainz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/codebrainz">@codebrainz</a> It's not that simple, because all the <code>*dir</code> variables usually expand to placeholders like <code>${prefix}/bin</code> and such.  So you need to expand them first, and as mentioned in another comment, it's not super trivial.  Plus, in some situations they can be overridden up until make calls, so it's better to apply them there.</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#discussion_r559542327">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYUHQ6QGN62NR2WL6LS2QUSNANCNFSM4WEW67UQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJZI3KWRSM6FU7OUEQDS2QUSNA5CNFSM4WEW67U2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEIAH5XA.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#discussion_r559542327",
"url": "https://github.com/geany/geany/pull/2728#discussion_r559542327",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>