From f07b01e57f4c08a68e22eb81f25c865d1d7c15c3 Mon Sep 17 00:00:00 2001 From: Adam Megacz Date: Mon, 7 Mar 2011 11:35:53 -0800 Subject: [PATCH] use compiler/coq/Makefile to decide if "git submodule update" is required --- ghc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc.mk b/ghc.mk index f7d236b..f818482 100644 --- a/ghc.mk +++ b/ghc.mk @@ -1215,10 +1215,10 @@ phase_1_builds: $(PACKAGE_DATA_MKS) # ----------------------------------------------------------------------------- # Support for writing GHC passes in Coq -compiler/coq/: +compiler/coq/Makefile: git submodule update --init compiler/coq cd compiler/coq/; git checkout master -compiler/coq/build/CoqPass.hs: compiler/coq/ $(wildcard compiler/coq/src/*.v) $(wildcard compiler/coq/src/*.hs) +compiler/coq/build/CoqPass.hs: compiler/coq/Makefile $(wildcard compiler/coq/src/*.v) $(wildcard compiler/coq/src/*.hs) cd compiler/coq; make compiler/stage1/build/CoqPass.hs: compiler/coq/build/CoqPass.hs cp compiler/coq/build/CoqPass.hs $@ -- 1.7.10.4