Improve the size-change detection heuristics in the compare tool
[ghc.git] / distrib / prep-bin-dist-mingw-args
1 #!/bin/sh
2 #
3 # Running 'binary-dist' gives us a tree which
4 # isn't quite right for the purposes of creating
5 # a mingw/win32 install tree.  This script rejigs
6 # the tree.
7 #
8 # To use:
9 #
10 #   foo$ cd <top of fptools build tree>
11 #   foo$ make binary-dist Project=Ghc 
12 #   foo$ cd ghc-<version>
13 #   foo$ ../distrib/prep-bin-dist-mingw-args <perl-dir> <mingw-top> <mingw-gcc-lib>
14 #
15
16 # Directory where a (cygwin-free) perl binary resides.
17 export perl_dir=$1
18
19 # Top of the MinGW32 compiler directory
20 export mingw_top=$2
21
22 # The gcc-lib directory of the mingw tree you want to
23 # include with the binary dist.
24 export gcc_lib=$mingw_top/$3
25
26 #
27 # The mingw include, lib, and bin directories.
28 #
29 export mingw_include=$mingw_top/include
30 export mingw_lib=$mingw_top/lib
31 export mingw_bin=$mingw_top/bin
32
33 exec $0/../prep-bin-dist-mingw