The following commit has been merged in the master branch:
commit edb07a173d88561b760638e0c7b986b1f338627e
Author: Mehdi Dogguy <me...@debian.org>
Date:   Wed Jan 4 21:51:33 2012 +0100

    Fix debian-rules-missing-recommended-target build-{arch,indep}

diff --git a/debian/rules b/debian/rules
index 5c651dd..f177510 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,9 @@ VIMDIR = /usr/share/vim/addons
 # omlet source dir
 OMLETSRC = $(shell echo omlet-*)
 
-build:
+build-arch:
+
+build-indep:
        $(MAKE) -C ocaml-autoconf/
        $(MAKE) -C ocamldot/ ocamldot
        cp ocaml-autoconf/README ocaml-autoconf/README.ocaml-autoconf
@@ -24,6 +26,8 @@ build:
        cp ocamldot/README README.ocamldot
        echo 'F:OCamlABI=$(OCAML_ABI)' >> debian/ocaml-tools.substvars
 
+build: build-arch build-indep
+
 clean: 
        dh_testdir
        dh_testroot
@@ -41,9 +45,9 @@ install:
        dh_installdirs
        BASE=$(DESTDIR)/$(VIMDIR) make -C $(OMLETSRC) install-aux
 
-binary-arch: build install
+binary-arch: build-arch
 
-binary-indep: build install
+binary-indep: build-indep
        dh_testdir
        dh_testroot
        dh_install
@@ -59,6 +63,6 @@ binary-indep: build install
        dh_md5sums
        dh_builddeb
 
-binary: binary-arch binary-indep
+binary: binary-arch binary-indep install
 
 .PHONY: build clean binary-indep binary-arch binary install

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