From 307fa3abdb45c07547e67bea072f72c363ddf8f1 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 1 May 2016 09:31:58 -0700 Subject: ensure that dh_auto_build is before dh_elpa_test dh_auto_build always occurs before dh_auto_test; if there is any building to do, it should happen first. But we can't just use insert_after as then the test suite gets run more than once, including within fakeroot. So use add_command to put dh_auto_build at the front again. --- elpa.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'elpa.pm') diff --git a/elpa.pm b/elpa.pm index dc64e33..796c4ad 100755 --- a/elpa.pm +++ b/elpa.pm @@ -10,6 +10,7 @@ insert_after("dh_install", "dh_elpa"); unless ( defined $ENV{ 'DH_ELPA_TEST_DISABLE' } ) { # insert_after("dh_auto_test", "dh_elpa_test"); # test suite gets run more than once add_command("dh_elpa_test", "build"); + add_command("dh_auto_build", "build"); remove_command("dh_auto_test"); } -- cgit v1.2.3