[Pkg-javascript-devel] Tip

Pirate Praveen praveen at onenetbeyond.org
Sun Aug 4 06:54:56 BST 2019



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.

>Thank you for the same! :D
>
>
>Best,
>Utkarsh

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Pkg-javascript-devel mailing list