* scripts/Dpkg/Source/Package/V2_0.pm: Use -E option of patch
to apply patches so that empty files are removed.
* man/dpkg-source.1: Update manual page accordingly.
.PP
All patches in \fBdebian/patches\fP matching the perl regular expression
\fB[\\w\-]+\fP are then applied in alphabetical order. The timestamp of
-patched files are reset to the extraction time. The patches can't remove
+patched files are reset to the extraction time. The patches can remove
files.
.PP
.B Building
info(_g("applying %s"), $patch) unless $skip_auto;
my $patch_obj = Dpkg::Source::Patch->new(filename => $path);
$patch_obj->apply($dir, force_timestamp => 1,
- timestamp => $timestamp);
+ timestamp => $timestamp,
+ add_options => [ '-E' ]);
}
}