Replace ; with && where appropriate. This fixes the makefiles so that Make correctly errors out rather than blindly carrying on when some error occurs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c227c0a166
commit
d3d9210bd0
15 changed files with 66 additions and 66 deletions
|
|
@ -550,12 +550,12 @@ OCAMLMKTOP=@OCAMLMKTOP@ $(SWIGWHERE)
|
|||
NOLINK ?= false
|
||||
OCAMLPP= -pp "camlp4o ./swigp4.cmo"
|
||||
OCAMLCORE=\
|
||||
rm -rf swig.mli swig.ml swigp4.ml ;\
|
||||
$(SWIG) -ocaml -co swig.mli 2>/dev/null ; \
|
||||
$(SWIG) -ocaml -co swig.ml 2>/dev/null ; \
|
||||
$(SWIG) -ocaml -co swigp4.ml 2>/dev/null ; \
|
||||
$(OCC) -c swig.mli ; \
|
||||
$(OCC) -c swig.ml ; \
|
||||
rm -rf swig.mli swig.ml swigp4.ml && \
|
||||
$(SWIG) -ocaml -co swig.mli 2>/dev/null && \
|
||||
$(SWIG) -ocaml -co swig.ml 2>/dev/null && \
|
||||
$(SWIG) -ocaml -co swigp4.ml 2>/dev/null && \
|
||||
$(OCC) -c swig.mli && \
|
||||
$(OCC) -c swig.ml && \
|
||||
$(OCC) -I `camlp4 -where` -pp "camlp4o pa_extend.cmo q_MLast.cmo" \
|
||||
-c swigp4.ml
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue