The following commit has been merged in the master branch:
commit c9fe5aef7f5994558010e04b0b99fa8012097815
Author: Lifeng Sun <lifong...@gmail.com>
Date:   Tue Jul 2 08:50:50 2013 +0800

    Fix csvtool installation.

diff --git a/debian/csvtool.install b/debian/csvtool.install
index 186e713..c96841b 100644
--- a/debian/csvtool.install
+++ b/debian/csvtool.install
@@ -1 +1 @@
-_build/examples/csvtool.native /usr/bin
+_build/examples/csvtool /usr/bin
diff --git a/debian/rules b/debian/rules
index 2897d21..753e9f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,7 @@ override_dh_auto_configure:
 .PHONY: override_dh_auto_build
 override_dh_auto_build: debian/csvtool.1
        ocaml setup.ml -build
+       mv -f _build/examples/csvtool.native _build/examples/csvtool
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
@@ -31,6 +32,7 @@ override_dh_auto_test:
 override_dh_auto_install:
        mkdir -p '$(OCAMLFIND_DESTDIR)'
        ocaml setup.ml -install
+       rm -rf $(DESTDIR)/usr/bin
 
 .PHONY: override_dh_auto_clean
 override_dh_auto_clean:

-- 
ocaml-csv 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