<p>I always install into $PROGRAMS_DIR/$NAME_OF_THE_PROGRAM/$PROGRAM_VERSION, which is what GoboLinux does (but I am using slackware most of the time); so in the above, I'd have Geany at /Programs/Geany/1.31/ (if that was the latest version).</p>
<p>I use a set of ruby scripts for that.</p>
<p>Since libtool was also mentioned here, and in "HACKING" issue by elextr I think, I should like to add that I dislike libtool immensely. :)</p>
<p>The bugger insists on storing hardcoded path entries into .la, which is ok if you install into relative prefixes such as /usr/ relative because libtool assumes that this is what everyone will use, rather than a path above). Since libtool also soaks up other .la files, if I think e. g. remove a program again from such a path, including removing the .la file in question, compilation based on libtool will fail because it can not find the file anymore. I assume that Gentoo and some other distributions use some way to workaround this or just simply don't use libtool at all anymore, but my poor man's "solution" was to just grep through all .la files and remove the entries from programs that I removed. It was still annoying to have to do so, since I invested time only to compensate for libtool's lack of abilities - it is primarily one HUGE shell script. Have you guys looked at it? :)</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/issues/1688#issuecomment-344760928">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ1bel7SFbhmWTWYr0WxTMU6TgtDoks5s23AdgaJpZM4QeZvf">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ1cutNsiF11GONPoTMswuYzlfdaOks5s23AdgaJpZM4QeZvf.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/1688#issuecomment-344760928"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@shevegen in #1688: I always install into $PROGRAMS_DIR/$NAME_OF_THE_PROGRAM/$PROGRAM_VERSION, which is what GoboLinux does (but I am using slackware most of the time); so in the above, I'd have Geany at /Programs/Geany/1.31/ (if that was the latest version).\r\n\r\nI use a set of ruby scripts for that.\r\n\r\nSince libtool was also mentioned here, and in \"HACKING\" issue by elextr I think, I should like to add that I dislike libtool immensely. :)\r\n\r\nThe bugger insists on storing hardcoded path entries into .la, which is ok if you install into relative prefixes such as /usr/ relative because libtool assumes that this is what everyone will use, rather than a path above). Since libtool also soaks up other .la files, if I think e. g. remove a program again from such a path, including removing the .la file in question, compilation based on libtool will fail because it can not find the file anymore. I assume that Gentoo and some other distributions use some way to workaround this or just simply don't use libtool at all anymore, but my poor man's \"solution\" was to just grep through all .la files and remove the entries from programs that I removed. It was still annoying to have to do so, since I invested time only to compensate for libtool's lack of abilities - it is primarily one HUGE shell script. Have you guys looked at it? :)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1688#issuecomment-344760928"}}}</script>