X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fdaemons%2Frdfly%2FMakefile;h=26e296409b4765f4a31459680df41ff2ee4c5da1;hb=2365a412571f633fc85633b134a45cf5a8777efa;hp=87ef3be5f66c1335e9cb29531b961e2429b5923e;hpb=3b875dad94c1835059450dc0de3b1e2779aff454;p=helm.git diff --git a/helm/software/daemons/rdfly/Makefile b/helm/software/daemons/rdfly/Makefile index 87ef3be5f..26e296409 100644 --- a/helm/software/daemons/rdfly/Makefile +++ b/helm/software/daemons/rdfly/Makefile @@ -2,7 +2,11 @@ BIN_DIR = /usr/local/bin REQUIRES = mysql http helm-registry PREDICATES = OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o -OCAMLFIND = OCAMLPATH=../../components/METAS/ ocamlfind +ifeq ($(origin OCAMLPATH), undefined) +OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind +else +OCAMLFIND = ocamlfind +endif OCAMLC = $(OCAMLFIND) ocamlc -thread $(OCAMLOPTIONS) OCAMLOPT = $(OCAMLFIND) ocamlopt -thread $(OCAMLOPTIONS) OCAMLDEP = ocamldep -pp camlp4o