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.
touch install-stamp
-# Build architecture-independent files here.
binary-indep: build install
+
+binary-arch: build install
dh_testdir
dh_testroot
dh_install
dh_md5sums
dh_builddeb
-binary-arch:
-
-binary: binary-indep
+binary: binary-indep binary-arch
.PHONY: build clean binary-arch binary-indep binary install