summary refs log blame commit diff
path: root/pkgs/development/ocaml-modules/higlo/install.patch
blob: bbdaace293bfc980e326adee3028ddf3bc7d29db (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                               
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 \