Commits

Peter Szilagyi committed 1801c99

OMake interprets unquoted colons in commands; work around.

Comments (0)

Files changed (1)

ocaml/contrib/OMakefile

 PATH = $(PATH):$(prefix)/bin
 
 ocp-build/configure:
-	test -d ocp-build && mv ocp-build ocp-build.bak
-	git clone git://github.com/chambart/ocp-build.git # CR pszilagyi: specific rev
+	test ! -d ocp-build || mv ocp-build ocp-build.bak
+	git clone "git://github.com/chambart/ocp-build.git" # CR pszilagyi: specific rev
 
 ocp-build/config.status: ocp-build/configure
 	cd ocp-build && ./configure --prefix=$(prefix)
 	make -C ocp-build/ocp-build-boot clean
 
 ocp-indent/configure:
-	test -d ocp-indent && mv ocp-indent ocp-indent.bak
-	git clone git://github.com/OCamlPro/ocp-indent.git # CR pszilagyi: specific rev
+	test ! -d ocp-indent || mv ocp-indent ocp-indent.bak
+	git clone "git://github.com/OCamlPro/ocp-indent.git" # CR pszilagyi: specific rev
 
 ocp-indent/config.status: ocp-indent/configure
 	cd ocp-indent && ./configure --prefix=$(prefix)