+# Sanity check that all the core libraries are in the tree, to catch
+# failure to run darcs-all.
+check-packages :
+ @for d in `cat libraries/core-packages`; do \
+ if test ! -d libraries/$$d; then \
+ echo "Looks like you're missing libraries/$$d,"; \
+ echo "maybe you haven't done 'sh darcs-all get'?"; \
+ exit 1; \
+ fi \
+ done
+
+stage1 : check-packages