Package: debhelper
Version: 5.0.35
The problem may be one of the following:
1. Either documentation, as included in script itself and encountered in
converted manual is incorrect.
2. Or dh_install behaves quite different from what is desired.
In POD documentation of the dh_install version 5.0.35 lines 59 to 63
clearly states that as a result the file[s] specified must be copied to
directory that has roughly the name debian/package/path/to/file, where
the path/to/file is the path we put into debian/package.install.
As it seen in file dh_make version 5.0.35 lines 162 to 189 current
implementation uses as a target dirrectory result from the call to
tmpdir($package). tmpdir may return as a result debian/tmp when compat
level required is 1 or no compat file in debian dirrecotry. This leads
to unpredictable and undocumented behaviour when source and destination
dirrectories are the same debian/tmp.
Either documentation should state that dh_install may install into
debian/tmp when compatibility level required is 1 or unspecified. Or
implementation should be fixed and should use debian/$package instead of
$tmp along the lines 162 to 189.
NOTE: The preciding description as well suits version 4.2.32 of the
dh_install script (current stable).
--
Regards,
Andrei Zaparii
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]