Hi Sean, Sean Whitton <[email protected]> writes:
> Hello,
>
> On Wed 18 Dec 2024 at 12:07am -08, Xiyue Deng wrote:
>
>> AIUI technically both work: in install files like
>> d/{docs,install,links}, etc., the file path starts from source
>> directory, and dh_install will fallback to search under debian/tmp if
>> the file is not found under source directory[1].
>
> Sure, but installing from debian/tmp/usr/share/doc/ with dh_installdocs
> could never make sense. The line you've added is effectively a no-op.
>
> Given that you are installing the file in d/rules already, the line in
> d/docs should be removed.
>
I did try not including
`[debian/tmp/]usr/share/doc/elpa-dap-mode/changelog' in d/docs, and
dh_missing gave the following error:
,----
| dh_missing: warning: usr/share/doc/elpa-dap-mode/changelog exists in
debian/tmp but is not installed to anywhere
| dh_missing: error: missing files, aborting
`----
I guess including manually installed files under debian/tmp in one of
the install files is probably required now?
> --
> Sean Whitton
--
Regards,
Xiyue Deng
signature.asc
Description: PGP signature

