Commits

camlspotter  committed 2f90eec

omy

  • Participants
  • Parent commits 8f5318b

Comments (0)

Files changed (1)

 #| The build root directory  
 BIG_ROOT=$(dir .)
 
-#| The prefix. Equal to the PREFIX environment variable
-try
-  PREFIX=$(getenv PREFIX)
-default
-  eprintln(Specify PREFIX environment variable.)
-  exit 1 
-
 # Installation mark files
 # =======================================================================
 
 
 #|OMy requires OCamlFind! Do not ask me how to use OMy without OCamlFind. Please.
 USE_OCAMLFIND = true
-OCAMLFIND_DESTDIR=$(PREFIX)/lib/ocaml/site-lib
+OCAMLFIND_DESTDIR= $(shell ocamlfind printconf destdir)
 
 # OCaml -where
 # ========================================================================