updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ocaml-bisect / fix-install-path.patch
blobaabf9e4817c58d91a8facd4174f4789daafa096b
1 --- bisect-1.1/Makefile.orig
2 +++ bisect-1.1/Makefile
3 @@ -74,8 +74,8 @@
4 rm -f $(PATH_OCAMLDOC)/*.html $(PATH_OCAMLDOC)/*.css
6 install: all
7 - cp $(PATH_BUILD)/src/report/report.byte $(PATH_OCAML_PREFIX)/bin/bisect-report; \
8 - (test -x $(PATH_OCAML_PREFIX)/bin/ocamlopt && cp $(PATH_BUILD)/src/report/report.native $(PATH_OCAML_PREFIX)/bin/bisect-report.opt || true); \
9 + install -D $(PATH_BUILD)/src/report/report.byte $(DESTDIR)/$(PREFIX)/bin/bisect-report; \
10 + (test -x $(PATH_OCAML_PREFIX)/bin/ocamlopt && install -D $(PATH_BUILD)/src/report/report.native $(DESTDIR)/$(PREFIX)/bin/bisect-report.opt || true); \
11 if [ -x "$(PATH_OCAMLFIND)" ]; then \
12 $(PATH_OCAMLFIND) query $(PROJECT_NAME) && $(PATH_OCAMLFIND) remove $(PROJECT_NAME) || true; \
13 $(PATH_OCAMLFIND) install $(PROJECT_NAME) META -optional \