X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=edad014a9d58094f0c1ca8bc101d8ec83254c573;hb=ad773dac21ea6960293246e836e9a143249e4e11;hp=290407af9d85ddb1c35a788fc5c1558ce3fce3b0;hpb=b27c1019b4cc57baa4b8f35e6834391188b5a16e;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index 290407a..edad014 100644 --- a/Makefile +++ b/Makefile @@ -88,10 +88,10 @@ endif # Sanity check that all the boot libraries are in the tree, to catch # failure to run darcs-all. check-packages : - @ds=`cat libraries/boot-packages`;\ + @ds=`grep "^[^# ][^ ]* *[^ ][^ ]*$$" packages | sed "s/ .*//"`;\ for d in $$ds; do \ - if test ! -d libraries/$$d; then \ - echo "Looks like you're missing libraries/$$d,"; \ + if test ! -d $$d; then \ + echo "Looks like you're missing $$d,"; \ echo "maybe you haven't done './darcs-all get'?"; \ exit 1; \ fi \