Skip to content

Commit

Permalink
Change the regexp so that it is compatible with the sed shipped with …
Browse files Browse the repository at this point in the history
…OS X.
  • Loading branch information
xclerc committed Jan 14, 2015
1 parent 4ad6270 commit 4b27d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/Makefile
Expand Up @@ -47,7 +47,7 @@ all.opt:

$(TARGET).cma: $(OBJS)
$(OCAMLC_CMD) -a -o $(TARGET).cma $(OBJS)
for i in `grep " (\*" exposed_modules.ml | sed "s/^[^(]\+(\*[ ]\+\([^.]\+\)\..*$$/\1/g"`; do cp ../$$i.cmi .; done
for i in `grep " (\*" exposed_modules.ml | sed "s/^.*(\* //" | sed "s/ \*)$$//"`; do cp ../$$i.cmi .; done

$(TARGET).cmxa: $(OPTOBJS) $(LIBS:.cma=.cmxa)
$(OCAMLOPT_CMD) -a -o $(TARGET).cmxa $(OPTOBJS)
Expand Down

0 comments on commit 4b27d7c

Please sign in to comment.