Commits

Peter Szilagyi  committed 0fb8ff0

get the PATH to ocp-build right for building ocp-indent

  • Participants
  • Parent commits 8e3803e

Comments (0)

Files changed (1)

File ocaml/contrib/OMakefile

 # git clone https://github.com/OCamlPro/typerex
 
 typerex/config.status: typerex/configure
-	cd typerex && ./configure --prefix='$(prefix)'
+  cd typerex && ./configure --prefix '$(prefix)'
 
 ../../bin/ocp-build: typerex/config.status
-	make -C typerex/ocp-build PREFIX='$(prefix)' ocp-build install clean
+  PATH='$(PATH)' 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
 
 ocp-indent/config.status: ocp-indent/configure
-	cd ocp-indent && ./configure --prefix=$(prefix)
+  cd ocp-indent && ./configure --prefix '$(prefix)'
 
 ../../bin/ocp-indent: ../../bin/ocp-build ocp-indent/config.status
-	make -C ocp-indent all install clean
+  PATH='$(PATH)' make -C ocp-indent all install clean
 
 .DEFAULT: ../../bin/ocp-indent