[Pkg-ocaml-maint-commits] [SCM] advi packaging branch, experimental, updated. debian/1.6.0-13-37-g7c4fbec

Ralf Treinen treinen at free.fr
Sun Feb 28 14:25:38 UTC 2010


The following commit has been merged in the experimental branch:
commit 7c4fbec2561edebb82598ea146028b00f79af542
Author: Ralf Treinen <treinen at free.fr>
Date:   Sun Feb 28 15:21:24 2010 +0100

    do not install byte code executable

diff --git a/debian/rules b/debian/rules
index e7e2276..d2e0524 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,9 @@ DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_BUILD_ARCH      ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
+# determine what kind of ocaml compiler we have
+OPT    = $(shell test -x /usr/bin/ocamlopt && echo true)
+
 %:
 	dh $@
 
@@ -14,6 +17,9 @@ override_dh_auto_configure:
 			--mandir=\$${prefix}/share/man \
 			--infodir=\$${prefix}/share/info
 
+override_dh_auto-build:
+	$(MAKE)
+
 override_dh_auto_install:
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/advi
-
+	-rm -f $(CURDIR)/debian/advi/usr/bin/advi.byt

-- 
advi packaging



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