Skip to content
Snippets Groups Projects
Commit d52138bf authored by Björn Brandenburg's avatar Björn Brandenburg
Browse files

fix Makefile creation to not pick up files ending in .v in .git

If one names a branch "something-something-file.v", then the current
script will find it in the .git directory and try to compile git's
branch description as a Coq file...
parent 2783a17b
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ fi
# Compile all *.v files (except the ones that define the decidable equality). Those
# are directly included in other files.
coq_makefile -f _CoqProject $(find . -name "*.v" ! -name "*#*" ! -name "*eqdec*.v" -print) -o Makefile
coq_makefile -f _CoqProject $(find . -name "*.v" ! -name "*#*" ! -name "*eqdec*.v" ! -path "./.git/*" -print) -o Makefile
# Fix the 'make validate' command. It doesn't handle the library prefix properly
# and cause clashes for files with the same name. This forces full filenames and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment