DH_GERMINATE_CLEAN(1)
π dh_germinate_clean(1)
okay bestie, so this is a page from the Debhelper manual, and it's about a lil helper called dh_germinate_clean. she's niche but she's iconic, and she's about to make your source packages look tidy. β¨
π NAME π
dh_germinate_clean β the girl who cleans up all the files that germinate-update-metapackage left lying around. no cap, that's literally her whole job. π§Ήπ
πΈ SYNOPSIS πΈ
dh_germinate_clean [debhelper options]
π¦ DESCRIPTION π¦
so dh_germinate_clean is a debhelper program, which means she plays nice with the whole debhelper crew. what she does is clean up certain files that germinate-update-metapackage creates β and listen, those files are genuinely useful for debugging, they're not villains or anything. but they should not be appearing in source packages, and that's the vibe check they fail. π
so she removes:
- any
*.oldfiles that match defined seeds β and when we say "defined seeds" we mean the ones listed in themetapackage-mapfile, put there by a previous run ofgerminate-update-metapackageπ - and also the
debootstrap-dirfile π bye girl
that's it. that's the whole thing. she's efficient, she's clean, she ate. π
β¨ EXAMPLES β¨
most of the time you don't even call her directly β she gets called indirectly in a rules file, via the dh command. like this:
%:
dh $@ --with germinate
β οΈ heads up bestie: to use this form you must build-depend on at leastdebhelper (>= 7.0.8). and honestly, in any case, to use this program at all you must build-depend on at leastgerminate (>= 1.18). no shortcuts, that's the rule. π₯
she can also be called directly in the clean target β any time before dh_clean, whenever you feel like it:
clean:
dh_testdir
dh_germinate_clean
dh_clean
see how she shows up right before dh_clean? main character placement. π«Ά
π SEE ALSO π
and also, fun fact: this program is a part of germinate. she belongs to something bigger. family. π₯Ή
π AUTHOR π
Colin Watson <cjwatson@ubuntu.com> β icon behavior, honestly. π
Copyright (C) 2009 Canonical Ltd., licensed under the GNU GPL v2 or later.
okay that's the whole page, you're officially germinate-pilled. go forth and have the cleanest source packages of your life, bestie. ππ¦β¨
2.50.2+willsync2 Β· 2026-09-25 Β· DH_GERMINATE_CLEAN(1) β mwah, love u, bye π
π¦ where this page comes from
- ubuntu stonking: germinate 2.50.2+willsync2 Β· 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