Commit a0ee4385 authored by POTTIER Francois's avatar POTTIER Francois

Fixed Makefiles to tolerate files ending in .mly~.

parent a93d2f2c
...@@ -11,7 +11,7 @@ MENHIR=$(SRC)/_stage2/menhir.native --stdlib $(SRC) ...@@ -11,7 +11,7 @@ MENHIR=$(SRC)/_stage2/menhir.native --stdlib $(SRC)
# La convention de nommage des tests multi-grammaires # La convention de nommage des tests multi-grammaires
# est : /nom/-[1-9].mly # est : /nom/-[1-9].mly
TESTS=$(shell ls | egrep '*([1]|[^2-9]).mly') TESTS=$(shell ls *.mly | egrep '*([1]|[^2-9]).mly')
RESULTS=$(TESTS:.mly=.result) RESULTS=$(TESTS:.mly=.result)
test: clean $(RESULTS) test: clean $(RESULTS)
......
...@@ -16,7 +16,7 @@ CAMLC := $(shell if ocamlfind ocamlc -v >/dev/null 2>&1 ; \ ...@@ -16,7 +16,7 @@ CAMLC := $(shell if ocamlfind ocamlc -v >/dev/null 2>&1 ; \
# Some tests involve several input files. The naming convention for # Some tests involve several input files. The naming convention for
# these tests is /name/-[1-9].mly. # these tests is /name/-[1-9].mly.
TESTS=$(shell ls | egrep '*([1]|[^2-9]).mly') TESTS=$(shell ls *.mly | egrep '*([1]|[^2-9]).mly')
RESULTS=$(TESTS:.mly=.opp.out) RESULTS=$(TESTS:.mly=.opp.out)
test: clean $(RESULTS) test: clean $(RESULTS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment