Commit 3b9f053c authored by MARCHE Claude's avatar MARCHE Claude

sed -i is not portable

parent 036366a4
......@@ -170,7 +170,12 @@ LIB_PARSER_INTERFACE = \
src/parser/parser.ml src/parser/parser.mli: src/parser/parser.mly
$(OCAMLYACC) $<
printf $(LIB_PARSER_POSTLUDE) >> src/parser/parser.ml
sed -i $(LIB_PARSER_INTERFACE) src/parser/parser.mli
# not portable: sed -i $(LIB_PARSER_INTERFACE) src/parser/parser.mli
mv src/parser/parser.mli src/parser/parser.mli.bak
sed $(LIB_PARSER_INTERFACE) src/parser/parser.mli.bak > src/parser/parser.mli
# build targets
......
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