Hi Sean,

Sean Whitton <spwhit...@spwhitton.name> writes:

> Hello,
>
> On Tue 17 Dec 2024 at 06:57pm -08, Xiyue Deng wrote:
>
>> Hi Sean,
>>
>> Sean Whitton <spwhit...@spwhitton.name> writes:
>>
>>> Hello,
>>>
>>> On Tue 17 Dec 2024 at 02:08am -08, Xiyue Deng wrote:
>>>
>>>> The symlink should have been removed at 927b478, and my local built
>>>> package does not seem to have any symlink to CHANGELOG.org anymore.  Can
>>>> you pull and retry?
>>>
>>> Hmm, sorry.
>>>
>>> But your install(1) invocation doesn't work, I think?  It doesn't get
>>> installed to the /usr/share/doc.  I think you need to be copying into
>>> debian/tmp/usr/share/doc/dap-mode/.
>>>
>>
>> Looks like I confused changelog.Debian and changelog.  Should be fixed
>> now.
>
> You've added a line 'debian/tmp/usr/share/doc/elpa-dap-mode/changelog'
> to debian/docs.  That doesn't make any sense.
>
> When building a Debian package where the source builds a single Debian
> package, debian/tmp/ is like the root of the target filesystem.  That's
> why I suggested you copy the file into there.
>

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].  Of course, this also
means the file path prefix debian/tmp is redundant.

This is now implemented 9ad2b33.  PTAL.  Thanks.

> (It would be worth spending time building a dummy package without
> debhelper to understand more about what's going on.)
>
> -- 
> Sean Whitton

[1] https://www.debian.org/doc/manuals/maint-guide/dother.en.html#install

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature

Reply via email to