blob: 50a6288e75879deaf82f3390a5d94e5d9804a98d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#!/bin/bash
set -e
. tests/lib
. $troot/lib-build-modes
t-dependencies git-buildpackage
quirk-clean-fixup () {
case $cleanmode in
dpkg-source*)
# git-buildpackage runs the clean target twice somehow
perl -i.unfixed -ne '
print unless
$_ eq $last &&
$_ eq "EXAMPLE RULES TARGET clean\n";
$last = $_;
' $bmgot
;;
esac
}
bm_quirk_before_diff=quirk-clean-fixup
bm-prep
for act in \
'gbp-build -S' \
'gbp-build -b' \
'gbp-build -B' \
'gbp-build -A' \
'gbp-build -F' \
'gbp-build -g' \
'gbp-build -G' \
; do
bm-guess-e-source-e-targets "$act"
real_act="$act --git-ignore-branch"
bm-act-iterate
done
t-ok
|