From c838b0ae045452f693ebdac22b81eb02e06f44d1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 14 May 2013 19:59:14 -0500 Subject: windows installer is fully working --- Build/BundledPrograms.hs | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100755 Build/BundledPrograms.hs (limited to 'Build/BundledPrograms.hs') diff --git a/Build/BundledPrograms.hs b/Build/BundledPrograms.hs new file mode 100755 index 000000000..570af4adf --- /dev/null +++ b/Build/BundledPrograms.hs @@ -0,0 +1,46 @@ +{- Bundled programs + - + - Copyright 2013 Joey Hess + - + - Licensed under the GNU GPL version 3 or higher. + -} + +{-# LANGUAGE CPP #-} + +module Build.BundledPrograms where + +import Data.Maybe + +import Build.SysConfig as SysConfig + +{- Programs that git-annex uses, to include in the bundle. + - + - These may be just the command name, or the full path to it. -} +bundledPrograms :: [FilePath] +bundledPrograms = catMaybes + [ Nothing +#ifndef mingw32_HOST_OS + -- git is not included in the windows bundle + , Just "git" +#endif + , Just "cp" + , Just "xargs" + , Just "rsync" + , Just "ssh" +#ifndef mingw32_HOST_OS + , Just "sh" +#endif + , ifset SysConfig.gpg "gpg" + , ifset SysConfig.curl "curl" + , ifset SysConfig.wget "wget" + , ifset SysConfig.bup "bup" + , SysConfig.lsof + , SysConfig.sha1 + , SysConfig.sha256 + , SysConfig.sha512 + , SysConfig.sha224 + , SysConfig.sha384 + ] + where + ifset True s = Just s + ifset False _ = Nothing -- cgit v1.2.3