projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
334e082
)
Update the test in Makefile that we have all the boot libs
author
Ian Lynagh
<igloo@earth.li>
Tue, 29 Jul 2008 20:16:40 +0000
(20:16 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 29 Jul 2008 20:16:40 +0000
(20:16 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
290407a
..
edad014
100644
(file)
--- 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 :
# 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 \
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 \
echo "maybe you haven't done './darcs-all get'?"; \
exit 1; \
fi \