DH_NOD...PACKAGE(1p)
π DH_NOD...PACKAGE(1p) π
okay bestie, quick vibe check: this is a page from the User Contributed Perl Documentation collection, and it's about a lil debhelper helper that goes absolutely feral in the best way. stay with me, it's short and it slays π«Ά
β¨ NAME β¨
dh_nodejs_build_debug_package β the girl whose whole job is to automatically move sourcemap files into a separate debug package. queen behavior, honestly π
πΈ SYNOPSIS πΈ
okay so the basic setup? you drop her into override_dh_install and she just does the thing:
override_dh_install:
dh_install
dh_nodejs_build_debug_package node-foo-debug
and if you're feeling fancy and want a custom regex (the classic example being moving typescript declarations), it's giving:
override_dh_install:
dh_install
dh_nodejs_build_debug_package node-types-foo '^.*\.d\.ts$'
no cap, that's the whole synopsis π
π¦ DESCRIPTION π¦
so dh_nodejs_build_debug_package automatically moves sourcemap files from all packages into a separate debug package. literally all of them. she's not picky, she's thorough β¨
you reach for her when package size is too big β like, your .deb is lowkey bloated and you need to offload the sourcemaps somewhere else so the main package can breathe. that's her moment. main character energy fr fr π
π COPYRIGHT AND LICENSE π
Copyright Yadd <yadd@debian.org> π
Licensed under GPL-2+ (go peek at /usr/share/common-licenses/GPL-2 if you wanna read the whole thing, iykyk)
and that's it, that's the page π this doc came to you courtesy of perl v5.40.1 and it's dated 2026-08-17, so it's fresh fresh. go forth and ship tiny packages, bestie π
β¨π
π¦ where this page comes from
- ubuntu stonking: dh-nodejs 0.17.8 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms