From: Adam Megacz Date: Mon, 7 Mar 2011 20:21:30 +0000 (-0800) Subject: Makefile updates X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=inline;h=67d9759a5f82533ccc03030529134a399c839f51;hp=a764632d29c79933e8c54633831e4aac0fb204f6;p=coq-hetmet.git Makefile updates --- diff --git a/Makefile b/Makefile index f16abc1..8abce1b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,8 @@ allfiles := $(coqfiles) $(shell find src -name \*.hs) default: build/CoqPass.hs -build/CoqPass.hs: build/Makefile.coq $(allfiles) +build/CoqPass.hs: $(allfiles) + make build/Makefile.coq cd build; make -f Makefile.coq Extraction.vo cat src/Extraction-prefix.hs > build/CoqPass.hs cat build/Extraction.hs | grep -v '^module' | grep -v '^import' >> build/CoqPass.hs @@ -45,4 +46,11 @@ publish: pdflatex $$A.tex < /dev/null; done ssh login.eecs.berkeley.edu -- 'rm public_html/coq-in-ghc/pdfs/*.pdf' ; true scp .temp/*.pdf login.eecs.berkeley.edu:public_html/coq-in-ghc/pdfs/ - rm -rf .temp \ No newline at end of file + rm -rf .temp + +push: build/CoqPass.hs + git push http://git.megacz.com/coq-garrows.git master + git add -f build/CoqPass.hs + git commit -m 'update baked-in CoqPass.hs' + git push http://git.megacz.com/coq-garrows.git master:coq-extraction-baked-in + git reset HEAD^