The following commit has been merged in the master branch:
commit b98e6d8489510a5995c61dd8edeac7ecac2bfd9e
Author: Ralf Treinen <trei...@free.fr>
Date:   Fri Oct 21 15:30:43 2011 +0200

    added targets in debian/rules

diff --git a/debian/changelog b/debian/changelog
index 32e4ae0..0d8e9c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,11 +2,12 @@ ocamldsort (0.15.0-2) UNRELEASED; urgency=low
 
   [ Ralf Treinen ]
   * added debian/watch
+  * debian/rules: added targets build-{arch,indep}
 
   [ St├ęphane Glondu ]
   * Switch packaging to git
 
- -- St├ęphane Glondu <glo...@debian.org>  Mon, 18 Apr 2011 17:15:58 +0200
+ -- Ralf Treinen <trei...@debian.org>  Fri, 21 Oct 2011 15:29:09 +0200
 
 ocamldsort (0.15.0-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 20b684c..66d5a83 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,10 @@ config.status: configure
        touch configure.in && sleep 1 && touch configure
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) 
--prefix=/usr --bindir=\$${prefix}/bin --mandir=\$${prefix}/share/man
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+
 build-stamp:  config.status
        dh_testdir
        $(MAKE) depend
@@ -57,13 +60,13 @@ binary-arch: build install
        dh_testroot
        dh_installdocs
        dh_installchangelogs Changes
-       
+
        if test -f $(CURDIR)/debian/ocamldsort/usr/bin/ocamldsort.opt; then \
                mv $(CURDIR)/debian/ocamldsort/usr/bin/ocamldsort.opt \
-                  $(CURDIR)/debian/ocamldsort/usr/bin/ocamldsort; \
+                  $(CURDIR)/debian/ocamldsort/usr/bin/ocamldsort; \
                dh_strip; \
        fi
-       
+
        dh_compress
        dh_fixperms
        dh_makeshlibs

-- 
ocamldsort 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