X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=boot;h=644c6d9ea251a8bde192f9ab449ad3c6b66344d6;hp=78c9295dd1c0fb03b1a777ca973be665be2c16ee;hb=f96194794bf099020706c3816d1a5678b40addbb;hpb=11e3da87d34465406147927fd89fb64b147cfaca diff --git a/boot b/boot index 78c9295..644c6d9 100644 --- a/boot +++ b/boot @@ -1,9 +1,16 @@ #! /bin/sh set -e +# Create libraries/*/{ghc.mk,GNUmakefile} +sh boot-pkgs + # Check that we have all boot packages. for dir in `grep "^[^# ][^ ]* *[^ ][^ ]* *[^ ][^ ]*$" packages | sed "s/ .*//"` do + # We would like to just check for an _darcs directory here, but in + # an lndir tree we avoid making _darcs directories, so it doesn't + # exist. We therefore require that every repo has a LICENSE file + # instead. if test ! -f $dir/LICENSE then echo "Error: $dir/LICENSE doesn't exist." >&2