| 1 |
# This file is part of dh-cmake, and is distributed under the OSI-approved |
| 2 |
# BSD 3-Clause license. See top-level LICENSE file or |
| 3 |
# https://gitlab.kitware.com/debian/dh-cmake/blob/master/LICENSE for details. |
| 4 |
|
| 5 |
use warnings; |
| 6 |
use strict; |
| 7 |
use Debian::Debhelper::Dh_Lib; |
| 8 |
|
| 9 |
insert_before("dh_auto_configure", "dh_ctest_configure"); |
| 10 |
remove_command("dh_auto_configure"); |
| 11 |
|
| 12 |
insert_before("dh_auto_build", "dh_ctest_build"); |
| 13 |
remove_command("dh_auto_build"); |
| 14 |
|
| 15 |
insert_before("dh_auto_test", "dh_ctest_test"); |
| 16 |
remove_command("dh_auto_test"); |
| 17 |
|
| 18 |
insert_before("dh_ctest_configure", "dh_ctest_start"); |
| 19 |
insert_after("dh_ctest_start", "dh_ctest_update"); |
| 20 |
|
| 21 |
insert_after("dh_ctest_test", "dh_ctest_submit"); |
| 22 |
|
| 23 |
insert_before("dh_clean", "dh_ctest_clean"); |
| 24 |
|
| 25 |
1; |