]> git.llucax.com Git - software/sadba.git/commitdiff
Make binary packages in the binary-arch rule
authorLeandro Lucarella <llucax@gmail.com>
Sun, 5 Aug 2012 12:05:46 +0000 (14:05 +0200)
committerLeandro Lucarella <llucax@gmail.com>
Sun, 5 Aug 2012 12:05:46 +0000 (14:05 +0200)
Using the binary-indep to build binary packages is wrong, because
binary-indep packages can be built only once when creating all the
packages for different architectures, so only the first architecture is
built as. This makes Maemo automatic builder fails.

debian/rules

index 185125ae79ab424e71425f77aa468ce5d9a51182..6a431c2ac408ba61e094886631b1c2ea8b40630e 100755 (executable)
@@ -27,8 +27,9 @@ install-stamp: build-stamp
 
        touch install-stamp
 
-# Build architecture-independent files here.
 binary-indep: build install
+
+binary-arch: build install
        dh_testdir
        dh_testroot
        dh_install
@@ -43,7 +44,5 @@ binary-indep: build install
        dh_md5sums
        dh_builddeb
 
-binary-arch:
-
-binary: binary-indep
+binary: binary-indep binary-arch
 .PHONY: build clean binary-arch binary-indep binary install