Makefile update
[coq-hetmet.git] / Makefile
index 1f18b0d..7959831 100644 (file)
--- 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
 
@@ -29,9 +29,6 @@ push: 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
        cd .temp; ln -s ../src/*.v .