The following commit has been merged in the master branch:
commit db0d4026b59747d5cc5cf341633947ee78fb2e73
Author: Ralf Treinen <trei...@debian.org>
Date:   Mon Jan 30 17:08:46 2012 +0100

    fix install target

diff --git a/debian/libgnuplot-ocaml-dev.dirs b/debian/libgnuplot-ocaml-dev.dirs
new file mode 100644
index 0000000..00a96ae
--- /dev/null
+++ b/debian/libgnuplot-ocaml-dev.dirs
@@ -0,0 +1 @@
+usr/lib/ocaml
diff --git a/debian/patches/make_install b/debian/patches/make_install
index d954294..5c36d6f 100644
--- a/debian/patches/make_install
+++ b/debian/patches/make_install
@@ -3,18 +3,18 @@ Description: honor $(PREFIX) when installing libraries
 
 Index: ocaml-gnuplot/Makefile
 ===================================================================
---- ocaml-gnuplot.orig/Makefile        2012-01-27 16:56:36.000000000 +0100
-+++ ocaml-gnuplot/Makefile     2012-01-27 16:57:56.000000000 +0100
+--- ocaml-gnuplot.orig/Makefile        2012-01-30 17:05:31.000000000 +0100
++++ ocaml-gnuplot/Makefile     2012-01-30 17:08:15.000000000 +0100
 @@ -73,10 +73,10 @@
  # Installation
  .PHONY: install
  install: META all
 -      $(OCAMLFIND) install $(PKGNAME) META $(INSTALL_FILES)
-+      $(OCAMLFIND) install -destdir $(PREFIX) $(PKGNAME) META $(INSTALL_FILES)
++      $(OCAMLFIND) install -destdir $(DESTDIR)/usr/lib/ocaml $(PKGNAME) META 
$(INSTALL_FILES)
  
  uninstall:
 -      $(OCAMLFIND) remove $(PKGNAME)
-+      $(OCAMLFIND) remove -destdir $(PREFIX) $(PKGNAME)
++      $(OCAMLFIND) remove -destdir $(DESTDIR)/usr/lib/ocaml $(PKGNAME)
  
  META: META.in
        $(COPY) $^ $@

-- 
ocaml-gnuplot packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to