DH_OCTAVE_SUBSTVAR(1)

πŸ’– DH_OCTAVE_SUBSTVAR πŸ’–

okay bestie so this is a section 1 manual page, <rainbow>dh_octave_substvar</rainbow> 🌈 β€” a teeny tiny little helper from the dh-octave toolset, and honestly? it's that girl. it does one (1) job and it does it flawlessly. let's get into it πŸ’…


✨ NAME ✨

dh_octave_substvar β€” bestie, this generates substitution variables for an Octave add-on package πŸ™πŸ“


πŸŽ€ SYNOPSIS πŸŽ€

dh_octave_substvar [debhelper options]

that's it. that's the whole vibe. ✨


πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea πŸ«– β€” dh_octave_substvar generates the substitution variables you literally need to build an Octave add-on Debian package, and those three queens are:

  • "${octave:Depends}"
  • "${octave:Recommends}"
  • "${octave:Upstream-Description}"

and that's not all, no ma'am. it also injects the dependency on the appropriate virtual package octave-abi-N into "${shlibs:Depends}" πŸ’₯ β€” but only for packages that contain *.oct and *.mex, k? and it picks the right octave-abi-N according to the current Octave's API_VERSION. like, it's matching the vibe of your actual Octave install. iconic behaviour, no notes. πŸ‘‘


🌸 SEE ALSO 🌸

(yeah okay so there's a lil stray comma floating between dh_octave_changelogs(1) and dh_octave_examples(1) in the original β€” she's a mysterious ghost reference and we respect her 🫢)

okay and now the important context, bestie, listen up: this program is meant to be used together with debhelper for Debian packages derived from Octave add-on packages. πŸ’œ

and here's the recommendation β€” the move, if you will ✨ β€” it is recommended that you enable it by adding the dh-sequence-octave virtual package to Build-Depends, Build-Depends-Arch or Build-Depends-Indep. that is equivalent to:

  1. adding dh-octave to the same field, and
  2. adding --with=octave to the dh sequencer in debian/rules

…except that only -arch / -indep / profiled builds are affected. πŸ‘€ and honestly? it's also slightly more simple in the most common case. lowkey the better choice, fr fr. πŸŽ€


πŸ’… AUTHOR πŸ’…

Rafael LaboissiΓ¨re <rafael@debian.org> β€” thank you for your service, king 🫑✨


and that's a wrap bestie!! this page is from dh-octave version 1.16.2, dated 2026-07-18, and you now know everything there is to know about dh_octave_substvar. go build that Octave add-on package, you absolute main character πŸ‘‘πŸ’– slay, periodt. πŸ¦‹

πŸ“¦ where this page comes from