4 . $troot/lib-build-modes
7 t-restrict x-dgit-schroot-build
9 arch=$(dpkg-architecture -qDEB_BUILD_ARCH)
11 # sbuild likes to run the package clean target in the chroot,
12 # which isn't necessary in our case. We don't disable it in
13 # dgit because we want to do what sbuild does, in case there
14 # are packages which don't build unless their clean target was
15 # run. We know it must be running it in the chroot because we
16 # provide sbuild with the dsc, not the tree, so we simply
17 # ignore all executions of the clean target by schroot.
18 local sblog=../example_1.0_$arch.build
19 if [ -e $sblog ]; then
21 s/^EXAMPLE RULES TARGET clean/HOOK SUPPRESSED &/;
25 bm_quirk_after_act=after-hook
29 act="sbuild -c build --no-arch-all"
33 e_targets='build-arch binary-arch'