4 # Create libraries/*/{ghc.mk,GNUmakefile}
7 # Check that we have all boot packages.
8 for dir in `grep "^[^# ][^ ]* *[^ ][^ ]* *[^ ][^ ]*$" packages | sed "s/ .*//"`
10 # We would like to just check for an _darcs directory here, but in
11 # an lndir tree we avoid making _darcs directories, so it doesn't
12 # exist. We therefore require that every repo has a LICENSE file
14 if test ! -f $dir/LICENSE
16 echo "Error: $dir/LICENSE doesn't exist." >&2
17 echo "Maybe you haven't done './darcs-all get'?" >&2
22 # autoreconf everything that needs it.
23 for dir in . libraries/*
25 if test -f $dir/configure.ac
28 ( cd $dir && autoreconf )
32 # Alas, darcs doesn't handle file permissions, so fix a few of them.
33 for f in boot darcs-all push-all validate