patch applied (ghc): Change how we compute install paths on cygwin

Ian Lynagh igloo at earth.li
Sun Mar 20 03:58:40 CET 2011


Sat Mar 19 18:25:40 PDT 2011  Ian Lynagh <igloo at earth.li>
  * Change how we compute install paths on cygwin
  We used to have
      MK_INSTALL_DEST = "$(shell cygpath $1)"
  but this meant we ended up with
      "$(shell cygpath "[...]/html/`basename $$i`")"
  and the $(...) gets evaluated before the makefile rule, so the for loop
  hasn't been run, and so $i isn't defined. So we were taking the basename
  of the empty string, meaning docs weren't being installed in the right
  place.
  
  Now we have
      MK_INSTALL_DEST = $$(cygpath $1)
  so the evaluation happens in the shell, while the for loop is running.

    M ./mk/install.mk.in -1 +1

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110320012540-3fd76-882e118a84343f03be26607361a01dade7ffff2d.gz



More information about the Cvs-ghc mailing list