Commits

Peter Szilagyi committed 7360b5b

Fixed ocp-indent build rules for OMake syntax.

  • Participants
  • Parent commits fc487c0

Comments (0)

Files changed (1)

File ocaml/contrib/OMakefile

 prefix = $(shell cd ../.. && pwd)
 
 # ocp-indent switched to ocp-build, which we put in ../../bin
-PATH = $(PATH):$(prefix)/bin
+setenv(PATH, $(concat :, $(PATH) $(prefix)/bin))
 
 # git clone https://github.com/OCamlPro/typerex
 
   cd typerex && ./configure --prefix '$(prefix)'
 
 ../../bin/ocp-build: typerex/config.status
-  PATH='$(PATH)' make -C typerex/ocp-build PREFIX='$(prefix)' ocp-build install clean
+  make -C typerex/ocp-build PREFIX='$(prefix)' ocp-build install clean
 
 # git clone git://github.com/pszilagyi/ocp-indent.git
 # cd ocp-indent && git pull git://github.com/OCamlPro/ocp-indent master
   cd ocp-indent && ./configure --prefix '$(prefix)'
 
 ../../bin/ocp-indent: ../../bin/ocp-build ocp-indent/config.status
-  PATH='$(PATH)' make -C ocp-indent all install clean
+  make -C ocp-indent all install clean
 
 .DEFAULT: ../../bin/ocp-indent