From 9b45efef69d0cf4b985949a3027a688e1179d181 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Mon, 29 May 2006 17:20:16 +0000 Subject: [PATCH] OCAMLPATH is not overrid if already defined --- daemons/graphs/tools/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daemons/graphs/tools/Makefile b/daemons/graphs/tools/Makefile index bef00fca3..bd473431a 100644 --- a/daemons/graphs/tools/Makefile +++ b/daemons/graphs/tools/Makefile @@ -6,7 +6,11 @@ SED=cat REQUIRES = http helm-registry PREDICATES = mt OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread -OCAMLFIND = OCAMLPATH=../../../components/METAS/ ocamlfind +ifeq ($(origin OCAMLPATH), undefined) +OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind +else +OCAMLFIND = ocamlfind +endif OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS) OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS) EXECUTABLES = uriSetQueue drawGraph -- 2.39.2