From e2922190ff27bd32da8d3bb7ca9aba8cd5cb6b8a Mon Sep 17 00:00:00 2001 From: Ferruccio Guidi Date: Mon, 7 Sep 2015 15:03:43 +0000 Subject: [PATCH] - simplified Makefile.defs using the ?= assignment - now the variable OCAMLPATH is available and is correctly set --- matita/Makefile.defs.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/matita/Makefile.defs.in b/matita/Makefile.defs.in index d7a7620d5..18c2549dc 100644 --- a/matita/Makefile.defs.in +++ b/matita/Makefile.defs.in @@ -1,8 +1,5 @@ -ifeq ($(origin OCAMLPATH), undefined) -OCAMLFIND = OCAMLPATH=@OCAMLPATH@ @OCAMLFIND@ -else -OCAMLFIND = @OCAMLFIND@ -endif +OCAMLPATH ?= @OCAMLPATH@ +OCAMLFIND = OCAMLPATH=$(OCAMLPATH) @OCAMLFIND@ CAMLP5O = @CAMLP5O@ LABLGLADECC = @LABLGLADECC@ HAVE_OCAMLOPT = @HAVE_OCAMLOPT@ -- 2.39.2