[Pkg-ocaml-maint-commits] [SCM] menhir packaging branch, master, updated. debian/20071212.dfsg-1-30-g1d16edf

Mehdi Dogguy dogguy at pps.jussieu.fr
Fri Jan 23 11:45:49 UTC 2009


The following commit has been merged in the master branch:
commit f6f8bdbc7058f7df01fb8495b88d42b3642b53b7
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date:   Fri Jan 23 12:43:22 2009 +0100

    Minor changes in debian/rules

diff --git a/debian/rules b/debian/rules
index d3ee3f7..db098e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ STRIPOPT := -e "$(if $(IS_NATIVE),,/native/d)"
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
-	$(MAKE) TARGET=$(TARGET) PREFIX=/usr
+	$(MAKE) TARGET=$(TARGET) PREFIX=$(CURDIR)/debian/menhir/usr
 	dh build --after auto_build
 	touch $@
 
@@ -42,6 +42,8 @@ binary-indep: install-stamp
 binary-arch: install-stamp
 ifeq ($(TARGET),byte)
 	echo 'F:OCamlRuntime=ocaml-base-nox-$(OCAMLABI)' >> debian/menhir.substvars
+else
+	echo 'F:OCamlRuntime=' >> debian/menhir.substvars
 endif
 	dh $@
 

-- 
menhir packaging



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