Package: dpkg-dev
Version: 1.23.5
Severity: wishlist
Hello Guillem et al.
When a source package does not clean everything it should, dpkg-source shows a
message like this:
dpkg-source: info: local changes detected, the modified files are:
yp-tools-4.2.3/po/stamp-po
I wonder if it would be possible to drop the first component of that
("yp-tools-4.2.3" in the example), so that the output could be used
directly (modulo leading spaces) in debian/clean (or also as the
argument of some "rm -f" command in debian/rules).
Something like this:
dpkg-source: info: local changes detected, the modified files are:
po/stamp-po
In fact, I once fixed a debian/clean file recently in which
the maintainer just used the output of dpkg-source "as is"
without realizing about the extra component.
Thanks.