DOKK / manpages / debian 12 / autotools-dev / dh_autotools-dev_updateconfig.1.en
DH_AUTOTOOLS-DEV_UPDATECONFIG(1) Debhelper DH_AUTOTOOLS-DEV_UPDATECONFIG(1)

dh_autotools-dev_updateconfig - update config.sub and config.guess

dh_autotools-dev_updateconfig [debhelper options]

Deprecated: dh_autotools-dev_updateconfig and dh_autotools-dev_restoreconfig are deprecated and replaced by dh_update_autotools_config(1) and dh_clean(1) from debhelper. Please replace all uses of dh_autotools-dev_updateconfig with dh_update_autotools_config and then remove any use of dh_autotools-dev_restoreconfig.

dh_autotools-dev_updateconfig replaces all occurrences of config.sub and config.guess in the source tree by the up-to-date versions found in the autotools-dev package. The original files are backed up under the names config.sub.dh-orig and config.guess.dh-orig.

dh_autotools-dev_updateconfig is usually called indirectly in a rules file via the dh command.

        %:
                dh $@ --with autotools_dev

It can also be direcly called at the start of the build (or configure) rule.

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

debhelper(7), dh(1).

This program is meant to be used together with debhelper.

Fabian Greffrath <fabian+debian@greffrath.com>

2022-01-31 perl v5.34.0