[GHC] #11097: `unlit` executable installed in wrong folder

#11097: `unlit` executable installed in wrong folder -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Build System | Version: 7.10.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- For some reason I don't know, `unlit` is installed into `$topdir` (c.f. `-B$topdir`) rather than `$exedir` (== `$topdir/bin`) IMO, it belongs into `$topdir/bin` instead, where all other internal executables are installed into -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11097 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11097: `unlit` executable installed in wrong folder -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Build System | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by thomie): There is a comment in `mk/install.mk.in` that says: {{{ # datadir is set to libdir here as GHC needs package.conf and unlit # to be in the same place (and things like ghc-pkg need to agree on # where package.conf is, so we just set it globally). }}} I don't understand it either. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11097#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11097: `unlit` executable installed in wrong folder
-------------------------------------+-------------------------------------
Reporter: hvr | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 8.0.1
Component: Build System | Version: 7.10.2
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by thomie):
* status: new => closed
* resolution: => fixed
Comment:
Fixed by commit 4905b83a2d448c65ccced385343d4e8124548a3b (buried in there
somewhere) and c1bd3d444f8c52c688fdbea695ee0ae7f402945d:
{{{
Author: Thomas Miedema
participants (1)
-
GHC