summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/js_of_ocaml/Makefile.conf.diff
blob: 0e3f55df6d20a0788f47324f75112eb68bd3a73f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- old/Makefile.conf	2014-05-19 16:53:09.263564921 +0200
+++ new/Makefile.conf	2014-05-19 16:53:42.213152994 +0200
@@ -1,6 +1,6 @@
 
 # Where binaries are installed:
-BINDIR := `dirname  \`which ocamlc\``
+BINDIR := $(out)/bin
 
 ####
 
--- old/Makefile	2014-09-30 16:40:37.000000000 +0200
+++ new/Makefile	2015-10-14 10:28:41.366815864 +0200
@@ -52,7 +52,7 @@
 install-bin:
 	install -d -m 755 $(BINDIR)
 	install $(BIN) $(BINDIR)
-	install $(TOOLS) $(BINDIR)
+	install $(TOOLS) $(BINDIR) || true
 
 uninstall: uninstall-lib uninstall-bin