[commit: Cabal] master: Add symlink-bindir flag to install/upgrade command (86d3149)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:58:35 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/86d3149dce88e69874451701dc161d3e2874e8d0
>---------------------------------------------------------------
commit 86d3149dce88e69874451701dc161d3e2874e8d0
Author: Duncan Coutts <duncan at haskell.org>
Date: Fri Aug 22 12:10:03 2008 +0000
Add symlink-bindir flag to install/upgrade command
Was previously only available in the config file.
>---------------------------------------------------------------
cabal-install/Distribution/Client/Setup.hs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/cabal-install/Distribution/Client/Setup.hs b/cabal-install/Distribution/Client/Setup.hs
index 285a494..15b6d29 100644
--- a/cabal-install/Distribution/Client/Setup.hs
+++ b/cabal-install/Distribution/Client/Setup.hs
@@ -385,6 +385,11 @@ installOptions showOrParseArgs =
installRootCmd (\v flags -> flags { installRootCmd = v })
(reqArg' "COMMAND" toFlag flagToList)
+ , option [] ["symlink-bindir"]
+ "Add symlinks to installed executables into this directory."
+ installSymlinkBinDir (\v flags -> flags { installSymlinkBinDir = v })
+ (reqArgFlag "DIR")
+
, option [] ["cabal-lib-version"]
("Select which version of the Cabal lib to use to build packages "
++ "(useful for testing).")
More information about the Cvs-libraries
mailing list