projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
aee44bb
)
use compiler/coq/Makefile to decide if "git submodule update" is required
author
Adam Megacz
<adam@megacz.com>
Mon, 7 Mar 2011 19:35:53 +0000
(11:35 -0800)
committer
Adam Megacz
<adam@megacz.com>
Mon, 7 Mar 2011 19:35:53 +0000
(11:35 -0800)
ghc.mk
patch
|
blob
|
history
diff --git
a/ghc.mk
b/ghc.mk
index
f7d236b
..
f818482
100644
(file)
--- a/
ghc.mk
+++ b/
ghc.mk
@@
-1215,10
+1215,10
@@
phase_1_builds: $(PACKAGE_DATA_MKS)
# -----------------------------------------------------------------------------
# Support for writing GHC passes in Coq
# -----------------------------------------------------------------------------
# Support for writing GHC passes in Coq
-compiler/coq/:
+compiler/coq/Makefile:
git submodule update --init compiler/coq
cd compiler/coq/; git checkout master
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 $@
cd compiler/coq; make
compiler/stage1/build/CoqPass.hs: compiler/coq/build/CoqPass.hs
cp compiler/coq/build/CoqPass.hs $@