nixpkgs/pkgs/development/ocaml-modules/higlo/install.patch

15 lines
432 B
Diff
Raw Normal View History

2017-03-23 10:58:25 +03:00
diff --git a/Makefile b/Makefile
index b8c2e01..fcd07ed 100644
--- a/Makefile
+++ b/Makefile
@@ -149,7 +149,8 @@ webdoc:
install: install-lib install-bin
install-bin:
- $(CP) $(HIGLO) $(HIGLO_BYTE) $(MK_HIGLO) `dirname \`which ocamlfind\``/
+ mkdir -p $(out)/bin
+ $(CP) $(HIGLO) $(HIGLO_BYTE) $(MK_HIGLO) $(out)/bin
install-lib: higlo.cmo higlo.cmx higlo.cmxs $(HIGLO) $(HIGLO_BYTE)
ocamlfind install higlo META LICENSE \