From 93ad38230bcfe9c3bb367ec62795e54e4db96b9f Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Wed, 23 Dec 2015 18:33:59 -0500 Subject: Build architecture-independent targets with -A (closes Debian #806662) Add appropriate overrides to debian/rules such that dpkg-buildpackage -A will actually build correctly. --- debian/rules | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 364bc3a1..4fa71ed5 100755 --- a/debian/rules +++ b/debian/rules @@ -24,3 +24,13 @@ override_dh_auto_configure: .PHONY: override_dh_auto_build-indep override_dh_auto_build-indep: cd doc && make manual.pdf + +# Tests require a working urweb binary, so don't run them on +# architecture-independent builds. +.PHONY: override_dh_auto_test-indep +override_dh_auto_test-indep: + : + +.PHONY: override_dh_auto_install-indep +override_dh_auto_install-indep: + DESTDIR=${CURDIR}/debian/tmp make install-exec-emacs -- cgit v1.2.3