summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-12-23 18:33:59 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-12-23 18:33:59 -0500
commit93ad38230bcfe9c3bb367ec62795e54e4db96b9f (patch)
tree16289a387adc458b7b4d19f43a3ec54dbd1b223f /debian
parent30a9173e4bd3bc6bfbb63434ad1f1af16d2d14df (diff)
Build architecture-independent targets with -A (closes Debian #806662)
Add appropriate overrides to debian/rules such that dpkg-buildpackage -A will actually build correctly.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules10
1 files changed, 10 insertions, 0 deletions
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