summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Pouillard <np@nicolaspouillard.fr>2007-04-12 13:21:36 +0000
committerNicolas Pouillard <np@nicolaspouillard.fr>2007-04-12 13:21:36 +0000
commit3a37e94928882b77dff9aeb3b56b0d03b97e9be3 (patch)
treef45c2b7eaf58fa26b8875eb62bd395ed629837a9 /Makefile
parent8cbe5e7b19e586b9551f5245880e0508f32d0b30 (diff)
downloadocaml-3a37e94928882b77dff9aeb3b56b0d03b97e9be3.tar.gz
[build sys] Add ocamldep to the bootstrap rule
git-svn-id: http://caml.inria.fr/svn/ocaml/version/3.10@8187 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3afdeff70b..05cf41b9af 100644
--- a/Makefile
+++ b/Makefile
@@ -198,6 +198,7 @@ promote-cross:
cp ocamlc boot/ocamlc
cp lex/ocamllex boot/ocamllex
cp yacc/ocamlyacc$(EXE) boot/ocamlyacc$(EXE)
+ cp tools/ocamldep boot/ocamldep
cd stdlib; cp $(LIBFILES) ../boot
# Promote the newly compiled system to the rank of bootstrap compiler
@@ -213,7 +214,7 @@ restore:
# Check if fixpoint reached
compare:
- @if cmp boot/ocamlc ocamlc && cmp boot/ocamllex lex/ocamllex; \
+ @if cmp boot/ocamlc ocamlc && cmp boot/ocamllex lex/ocamllex && cmp boot/ocamldep tools/ocamldep; \
then echo "Fixpoint reached, bootstrap succeeded."; \
else echo "Fixpoint not reached, try one more bootstrapping cycle."; \
fi