5 t-restrict x-dgit-intree-only
6 # we need the .pod source, which is not shipped
10 : ----- extract args from document -----
13 BEGIN { print "\n=head1 dgit-test-title\n\n"; }
15 m/^=for dgit-test dpkg-source-ignores begin/..
16 m/^=for dgit-test dpkg-source-ignores end/;
17 next unless m/dpkg-buildpackage.*-i.*-I/;
18 s/\s*dpkg-buildpackage\s+//;
21 ' $root/dgit-maint-merge.7.pod >doc.pod
23 pod2text doc.pod >doc.txt
27 next if m/dgit-test-title/;
41 : ----- extract args from dgit -----
43 args=$( t-dgit print-dpkg-source-ignores )
47 printf >>dgit.args "%s\n" "$arg"
52 diff -u dgit.args doc.args