DH_AUTOTOOLS-DEV_RESTORECONFIG(1)
π DH_AUTOTOOLS-DEV_RESTORECONFIG β the Debhelper era
okay bestie, so this is a page from the Debhelper manual set. Sit down, hydrate, and let's talk about dh_autotools-dev_restoreconfig. π«Ά
β¨ NAME β¨
dh_autotools-dev_restoreconfig β restore config.sub and config.guess
πΈ SYNOPSIS πΈ
dh_autotools-dev_restoreconfig [debhelper options]
π DESCRIPTION π
Deprecated. Not me being the bearer of bad news butβ¦ yeah.dh_autotools-dev_updateconfiganddh_autotools-dev_restoreconfigare deprecated, and they've been replaced bydh_update_autotools_config(1)anddh_clean(1)from debhelper. So like, please swap out every single use ofdh_autotools-dev_updateconfigfordh_update_autotools_config, and then justβ¦ remove any use ofdh_autotools-dev_restoreconfig. Gone. Ghosted. It's giving retirement arc. π
so what does it actually do, you ask? dh_autotools-dev_restoreconfig restores the original config.sub and config.guess files β the ones that dh_autotools-dev_updateconfig backed up for you under the names config.sub.dh-orig and config.guess.dh-orig. Basically it's the undo button for your undo-able config files. π
π¦ EXAMPLES π¦
usually you don't even call dh_autotools-dev_restoreconfig yourself β it gets called indirectly in a rules file via the dh command. main character behavior, honestly. like this:
%:
dh $@ --with autotools_dev
but you can also call it directly in the clean rule, if that's your vibe:
clean:
dh_testdir
dh_testroot
[ ! -f Makefile ] || $(MAKE) clean
dh_autotools-dev_restoreconfig
dh_clean
π SEE ALSO π
and also, for the record: this program is meant to be used together with debhelper. they're a package deal, iykyk. π
π AUTHOR π
Fabian Greffrath <fabian+debian@greffrath.com>
and that's the whole page, bestie π this one's from perl v5.40.1, dated 2026-02-02 β slay, stay deprecated, and go use dh_update_autotools_config instead β¨ππ¦
π¦ where this page comes from
- ubuntu resolute: autotools-dev 20240727.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms