tags 831938 + patch
thanks
On Wed, 20 Jul 2016, Lucas Nussbaum wrote:
> make: Nothing to be done for 'binary-indep'.
> dpkg-genchanges --build=all >../pyrex_0.9.8.5-2.1_all.changes
> dpkg-genchanges: error: binary build with no binary artifacts found; cannot
> distribute
In this package, debian/rules does not have binary-arch or
binary-indep targets at all. The reason it fails in this way
(i.e. "nothing to be done for 'binary-indep'") is that both
targets are declared as PHONY at the end.
The attached trivial patch should make "dpkg-buildpackage -A" to work.
Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -57,8 +57,9 @@ install: build
done
dh_install -p pyrex-mode
-binary-common:
+binary-arch:
+binary-indep: build install
dh_testdir
dh_testroot
dh_installdebconf
@@ -83,8 +84,6 @@ binary-common:
dh_md5sums
dh_builddeb
-# Build architecture-independent files here.
-binary: build install
- $(MAKE) -k -f debian/rules DH_OPTIONS=-i binary-common
+binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install configure unpatch
clean1st