DH_DI_NUMBERS(1)

πŸ“¦
version 11build1 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

✨ DH_DI_NUMBERS ✨

okay bestie, so this is dh_di_numbers from the Debhelper manual, section 1 πŸŽ€ and it is literally the little script that could: it installs numbered scripts into package build directories. iconic behavior tbh πŸ’…


🌸 NAME 🌸

dh_di_numbers β€” install numbered scripts into package build directories πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

dh_di_numbers [debhelper options] [dir [...] dest]

✨ DESCRIPTION ✨

dh_di_numbers is a debhelper program, and what it does is install directories full of numbered scripts into package build directories. no cap 🫢

so here's the tea β˜• inside every one of those directories there's supposed to be a _numbers file, and every line in that file has at least two space-separated fields:

  • the first field is a two-digit number. it gets prefixed onto the entry name, and that's how you get ordering inside the directory. slay, organization πŸ’…
  • the second field is the entry name. it must correspond to a file or directory sitting alongside that _numbers file. like, it has to actually exist there, no fake entries πŸ™ˆ
  • the third field, if it's even there, is another two-digit number. it identifies another entry with the same entry name, and this entry should be a symlink to that one. cute little link moment πŸ”—

Any additional directory names you pass in as parameters get installed in the package build directory of the first package dh_di_numbers is told to act on. by default that's the first binary package in debian/control β€” but if you use -p, -i, or -a flags, then it's the first package specified by those flags instead. periodt πŸ‘‘


πŸŽ€ FILES πŸŽ€

  • debian/package.di-numbers β€” list the directories to install into each package, plus the directory they should be installed to. the format is a set of lines: each line lists a directory or directories to install, and at the end of the line it tells you the directory they should be installed in. the names of the directories to install should be given relative to the current directory, while the installation directory is given relative to the package build directory. and yes, you may use wildcards in the names of the files to install (in v3 mode and above) ✨🌟

πŸ’– OPTIONS πŸ’–

  • dir [...] dest β€” lists directories to install and where to install them to. the files will be installed into the first package dh_di_numbers acts on 🫢

🌈 SEE ALSO 🌈

This program is a part of dh-di. iykyk πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Colin Watson <cjwatson@debian.org> β€” king behavior, we love to see it 🌟


and that's the whole page bestie!! this one's from dh-di, version 11build1, dated 2025-12-01 πŸ’– go install some numbered scripts, you've got this πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from