diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/coq/Makefile | 6 | ||||
-rw-r--r-- | tests/coq/_CoqProject.template | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/coq/Makefile b/tests/coq/Makefile index 8dee394b..c2b9e379 100644 --- a/tests/coq/Makefile +++ b/tests/coq/Makefile @@ -29,8 +29,10 @@ gen-coq-project-%: rm -f $*/_CoqProject echo "# This file was automatically generated - see ../Makefile" >> $*/_CoqProject cat _CoqProject.template >> $*/_CoqProject - echo $(patsubst $*/%,"\n"%,$(wildcard $*/*.v)) >> $*/_CoqProject - sed -i -z "s/ \n/\n/g" $*/_CoqProject + echo $(wildcard $*/*.v) >> $*/_CoqProject # List the .v files + sed -i -z "s/"$*"\//\n/g" $*/_CoqProject # Insert breaks + sed -i -z "s/ \n/\n/g" $*/_CoqProject # Remove whitespaces at the end of lines + cat $*/_CoqProject .PHONY: clean-% clean-%: diff --git a/tests/coq/_CoqProject.template b/tests/coq/_CoqProject.template new file mode 100644 index 00000000..672629b2 --- /dev/null +++ b/tests/coq/_CoqProject.template @@ -0,0 +1,3 @@ +-R . Lib +-arg -w +-arg all |