X-Git-Url: http://git.megacz.com/?p=coq-hetmet.git;a=blobdiff_plain;f=Makefile;h=7959831e0c9099f3f3e81fa1f0a7cc7ab9e6dead;hp=8abce1bc82dc5b901be994271e7f5ab82075606d;hb=dceacf3f8630d0562bfb4e1bd2dc16880dbf3b7d;hpb=67d9759a5f82533ccc03030529134a399c839f51 diff --git a/Makefile b/Makefile index 8abce1b..7959831 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ coqc := coqc -noglob -coqfiles := $(shell find src -name \*.v) -allfiles := $(coqfiles) $(shell find src -name \*.hs) +coqfiles := $(shell find src -name \*.v | grep -v \\\#) +allfiles := $(coqfiles) $(shell find src -name \*.hs | grep -v \\\#) default: build/CoqPass.hs @@ -23,7 +23,12 @@ clean: # this is for Adam's use only! -publish: +push: build/CoqPass.hs + git push http://git.megacz.com/coq-hetmet.git master + git add -f build/CoqPass.hs; \ + git commit -m 'update baked-in CoqPass.hs' && \ + (git push -f http://git.megacz.com/coq-hetmet.git master:coq-extraction-baked-in; \ + git reset HEAD^) rm -rf .temp mkdir .temp cd .temp; ln -s ../src/*.v . @@ -47,10 +52,3 @@ publish: 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 - -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^