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
# this is for Adam's use only!
+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^)
+ make publish
+
publish:
rm -rf .temp
mkdir .temp
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