DH_OCTAVE_MAKE(1)
π¦ DH_OCTAVE_MAKE β bestie's guide to the dh-octave manual π
okay so imagine you have an Octave add-on package and you need a Debian package out of it and you're like "where do I even start" β this is literally the page for you. it's from the dh-octave manual, and we're gonna go through it together, no cap β¨
πΈ NAME πΈ
dh_octave_make β generates a Debian package from the sources of an Octave add-on package. it's giving "glow up your sources into a .deb", fr fr π
β SYNOPSIS β
dh_octave_make
that's it. that's the whole invocation. no flags, no args, just vibes (and a correctly-placed working directory, see below π).
π DESCRIPTION π
so dh_octave_make is a helper script π«Ά and its whole job is generating a first version of a Debian package for an Octave add-on package. yes, first version β it gets you started, it doesn't finish the job, iykyk.
Where do you run it? From the top directory of the unpacked sources of an Octave add-on package. Not a subdirectory, not your home folder, the top. do it right π
What has to already exist? A file called DESCRIPTION must be present, and that's where all the info about the package gets gathered from. no DESCRIPTION, no package, periodt π
What does it make for you? The following files, generated with sensible contents β although bestie, they need further editing, this is a starting point not a final form π
debian/changelogdebian/controldebian/copyrightdebian/rulesdebian/source/formatdebian/upstream/metadatadebian/watchdebian/gbp.confdebian/.gitignoredebian/salsa-ci.yml
The important catch: those files above are only created if they do not exist yet. not a single one of them gets clobbered. and that is actually iconic, because it means you can run dh_octave_make again on an already debianized source tree to update it π β it'll fill in the gaps instead of stomping your edits.
π ENVIRONMENT VARIABLES π
the whole "who even made this package" situation gets handled by env vars, okay:
DEBFULLNAMEβ used for generating the identity of the developer, which will appear indebian/changeloganddebian/copyright.DEBEMAILβ also used for generating the identity of the developer, appearing indebian/changeloganddebian/copyright.FULLNAMEβ the fallback. ifDEBFULLNAMEdoesn't exist,FULLNAMEis used instead.EMAILβ the other fallback. ifDEBEMAILdoesn't exist,EMAILis used instead.
so like, set DEBFULLNAME and DEBEMAIL if you want the cool ones, or let it fall back to FULLNAME and EMAIL. either way you're getting credited, slay π«Ά
π DISCLAIMER π
dh_octave_make is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. yes, that's the real legal text, bestie, read it and weep (or don't, honestly, just don't come for the author if it misbehaves) π
π COPYRIGHT π
Copyright 2012, 2017-2021 Rafael Laboissière
This script is free software; you can redistribute it and/or modify it under the terms of the GNU GPL, v3 or later. π
π§ AUTHOR π§
Rafael LaboissiΓ¨re <rafael@debian.org> β thank you for your service, legend π
and that's the whole page, bestie!! go forth and debianize your Octave add-ons, you're gonna ate π β¨
this was version 1.16.2, dated 2026-07-18 β from the dh-octave manual. mwah, see you in the next one ππ¦
π¦ where this page comes from
- ubuntu stonking: dh-octave 1.16.2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms