Correctly install dh_ocaml.
authorSamuel Mimram <smimram@debian.org>
Mon, 18 Sep 2006 18:12:01 +0000 (18:12 +0000)
committerSamuel Mimram <smimram@debian.org>
Mon, 18 Sep 2006 18:12:01 +0000 (18:12 +0000)
debian/rules

index a34a7aba24b65368edba07d766ff743ff52cefad..4c1cccf6144689117ed74eea4a24ab0a9ee46f10 100755 (executable)
@@ -164,9 +164,6 @@ install-indep: build-indep
                -C debian/ocaml-source/usr/src ocaml-$(OCAMLABI)
        rm -rf debian/ocaml-source/usr/src/ocaml-$(OCAMLABI)
 
-       # Install dh_ocaml
-       $(MAKE) -C debian/dh-ocaml install DESTDIR=$(CURDIR)/debian/ocaml-nox
-
        dh_install -i
 
 install-arch: build-arch
@@ -231,10 +228,10 @@ install-arch: build-arch
                        $(CURDIR)/debian/ocaml-compiler-libs/usr/lib/ocaml/$(OCAMLABI)/compiler-libs; \
        fi
 
-       # install ocaml-md5sums
+       # Install ocaml-md5sums
        $(MAKE) -C debian/ocaml-md5sums install DESTDIR=$(CURDIR)/debian/ocaml-base-nox/usr/bin
 
-       # compute core entries of the ocaml md5sums registry and install them
+       # Compute core entries of the ocaml md5sums registry and install them
        (cd debian/ocaml-md5sums &&                                                                     \
         chmod +x feeding.sh &&                                                                 \
         for pkg in ocaml-nox ocaml ocaml-compiler-libs; do                                     \
@@ -243,6 +240,9 @@ install-arch: build-arch
                        ../$$pkg$(MD5SUMSDIR)/$$pkg.md5sums;                            \
         done)
 
+       # Install dh_ocaml
+       $(MAKE) -C debian/dh-ocaml install DESTDIR=$(CURDIR)/debian/ocaml-nox
+
        # Remove .opt manpages from ocaml-nox
        rm -f debian/ocaml-nox/usr/share/man/man1/*.opt.1