Package: ocaml-gnuplot / 0.8.3-6

make_install Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Ralf Treinen <[email protected]>
Date: Wed, 4 Sep 2019 14:10:12  0200
Subject: honor $(PREFIX) when installing libraries

---
 Makefile | 4   --
 1 file changed, 2 insertions( ), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 66e947a..8277976 100644
--- a/Makefile
    b/Makefile
@@ -73,10  73,10 @@ gnuplot_sys.ml: gnuplot_$(PLATFORM).ml
 # Installation
 .PHONY: install
 install: META all
-	$(OCAMLFIND) install $(PKGNAME) META $(INSTALL_FILES)
 	$(OCAMLFIND) install -destdir $(DESTDIR)/usr/lib/ocaml $(PKGNAME) META $(INSTALL_FILES)
 
 uninstall:
-	$(OCAMLFIND) remove $(PKGNAME)
 	$(OCAMLFIND) remove -destdir $(DESTDIR)/usr/lib/ocaml $(PKGNAME)
 
 META: META.in
 	$(COPY) $^ $@