summaryrefslogtreecommitdiff
path: root/elpa.pm
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-05-01 09:31:58 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-05-01 09:31:58 -0700
commit307fa3abdb45c07547e67bea072f72c363ddf8f1 (patch)
tree4db50eeecb8af0a1a79519f81aa2434904df4965 /elpa.pm
parent8de416612ebb434cd7f9142fb8b672fe14a03367 (diff)
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.
Diffstat (limited to 'elpa.pm')
-rwxr-xr-xelpa.pm1
1 files changed, 1 insertions, 0 deletions
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");
}