]> matita.cs.unibo.it Git - helm.git/blobdiff - daemons/rdfly/Makefile
snapshot for camlp5 v5
[helm.git] / daemons / rdfly / Makefile
index 779bb7b44c9cc6de0424a91e78194128b3becbf6..26e296409b4765f4a31459680df41ff2ee4c5da1 100644 (file)
@@ -2,7 +2,11 @@ BIN_DIR = /usr/local/bin
 REQUIRES = mysql http helm-registry
 PREDICATES = 
 OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o
+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