DH_AUTOTOOLS-DEV_UPDATECONFIG(1)

πŸ’– DH_AUTOTOOLS-DEV_UPDATECONFIG πŸ’–

okay bestie, this is the dh_autotools-dev_updateconfig page from the Debhelper manual β€” yes, section 1, the classic. sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

dh_autotools-dev_updateconfig β€” update config.sub and config.guess πŸ¦‹


✨ SYNOPSIS ✨

dh_autotools-dev_updateconfig [debhelper options]

✨ DESCRIPTION ✨

Deprecated, babes. πŸ’€ dh_autotools-dev_updateconfig and dh_autotools-dev_restoreconfig are deprecated and have been replaced by dh_update_autotools_config(1) and dh_clean(1) from debhelper. So please replace all uses of dh_autotools-dev_updateconfig with dh_update_autotools_config, and then remove any use of dh_autotools-dev_restoreconfig. like, all of it. no stragglers. πŸ‘‘

so what does it actually do? dh_autotools-dev_updateconfig replaces all occurrences of config.sub and config.guess in the source tree with the up-to-date versions found in the autotools-dev package. glow-up for your build scripts, literally. ✨

and because she's considerate πŸ’…, the original files get backed up under the names config.sub.dh-orig and config.guess.dh-orig. so nothing is lost, bestie, we keep the receipts.


✨ EXAMPLES ✨

most of the time you don't even call her directly β€” she gets called indirectly in a rules file, via the dh command:

%:
    dh $@ --with autotools_dev

she can also be directly called at the start of the build (or configure) rule:

build:
    dh_autotools-dev_updateconfig
    ./configure
    $(MAKE)

see? main character energy, showing up right at the top of the build. πŸŽ€


✨ SEE ALSO ✨

this program is meant to be used together with debhelper. they're a package deal, iykyk 🫢


✨ AUTHOR ✨

Fabian Greffrath <fabian+debian@greffrath.com> β€” thank you for your service, legend πŸ‘‘


and that's the whole vibe check, bestie 🌈 this was page DH_AUTOTOOLS-DEV-UPDATECONFIG(1), from the Debhelper manual, generated with perl v5.40.1, dated 2026-02-02. mwah πŸ’‹ go update your config files, but like… the new way. periodt. πŸ’–

πŸ“¦ where this page comes from