[Pkg-javascript-devel] Tip

Xavier yadd at debian.org
Sun Aug 4 07:03:50 BST 2019


Le 04/08/2019 à 07:54, Pirate Praveen a écrit :
> 
> 
> On 2019, ഓഗസ്റ്റ് 4 1:05:42 AM IST, Utkarsh Gupta <guptautkarsh2102 at gmail.com> wrote:
>> Hey,
>>
>> On Sat, Aug 3, 2019 at 7:08 PM Xavier <yadd at debian.org> wrote:
>>
>>> Hi,
>>>
>>> when you need to link a node library into your package during build
>>> (debian/rules), no more use "ln -s /usr/lib/nodejs/npm-name" but
>>> instead, use:
>>>
>>> override_dh_auto_build:
>>>     # ...
>>>     ln -s `nodepath npm-name` node_modules/
>>>
>>
>> Just checked, it works well! :D
>> Saves the "ln -s" effort!
> 
> How about something like dh_link_modules command and debian/nodejs/link_modules file? Where you just have to give name of the module as argument.

OK, let's do it



More information about the Pkg-javascript-devel mailing list