[Pkg-ocaml-maint-commits] [SCM] pkglab packaging branch, master, updated. debian/1.4.2-11-23-gf5850e5

Ralf Treinen treinen at free.fr
Sun Feb 13 21:19:25 UTC 2011


The following commit has been merged in the master branch:
commit b69a71372b45309b8072f190579c47b9bde2481c
Author: Ralf Treinen <treinen at free.fr>
Date:   Sun Feb 13 12:47:38 2011 +0100

    fix pathnames in insall target

diff --git a/debian/rules b/debian/rules
index 4247cda..141c255 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,6 @@
 # do we have compilation of ocaml to native code?
 OPT = $(shell test -x /usr/bin/ocamlopt && echo true)
 
-BIN = debian/tmp/bin
-
 %:
 	dh $@ --with ocaml
 
@@ -27,9 +25,11 @@ endif
 
 overide_dh_auto_install:
 ifeq ($(OPT),true)
-	cp pklab.opt distcheck/distcheck.opt $(BIN) 
+	cp pklab.opt debian/pkglab/usr/bin
+	cp distcheck/distcheck.opt $debian/edos-distcheck/usr/bin
 else
-	cp pklab distcheck/distcheck $(BIN) 
+	cp pklab debian/pkglab/usr/bin
+	cp distcheck/distcheck $debian/edos-distcheck/usr/bin
 endif
 
 override_dh_strip:

-- 
pkglab packaging



More information about the Pkg-ocaml-maint-commits mailing list