# dh_autotools-dev_restoreconfig(1) - man - phpMan

[DH_AUTOTOOLS-DEV_RESTORECONFIG(1)](https://www.chedong.com/phpMan.php/man/DHAUTOTOOLS-DEVRESTORECONFIG/1/markdown)             Debhelper            [DH_AUTOTOOLS-DEV_RESTORECONFIG(1)](https://www.chedong.com/phpMan.php/man/DHAUTOTOOLS-DEVRESTORECONFIG/1/markdown)



## NAME
       dh_autotools-dev_restoreconfig - restore config.sub and config.guess

## SYNOPSIS
       **dh**___**autotools-dev**___**restoreconfig** [_debhelper_ _options_]

## DESCRIPTION
       **Deprecated**: dh_autotools-dev_updateconfig and dh_autotools-dev_restoreconfig are deprecated
       and replaced by **dh**___**update**___**autotools**___**[config**(1)](https://www.chedong.com/phpMan.php/man/config/1/markdown) and **dh**___**[clean**(1)](https://www.chedong.com/phpMan.php/man/clean/1/markdown) 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_restoreconfig restores the original **config.sub** and **config.guess** files that
       have been backed up by dh_autotools-dev_updateconfig under the names **config.sub.dh-orig** and
       **config.guess.dh-orig**.

## EXAMPLES
       dh_autotools-dev_restoreconfig is usually called indirectly in a rules file via the dh
       command.

               %:
                       dh $@ --with autotools_dev

       It can also be direcly called in the clean rule.

               clean:
                       dh_testdir
                       dh_testroot
                       [ ! -f Makefile ] || $(MAKE) clean
                       dh_autotools-dev_restoreconfig
                       dh_clean

## SEE ALSO
       [**debhelper**(7)](https://www.chedong.com/phpMan.php/man/debhelper/7/markdown), [**dh**(1)](https://www.chedong.com/phpMan.php/man/dh/1/markdown).

       This program is meant to be used together with debhelper.

## AUTHOR
       Fabian Greffrath <fabian+<debian@greffrath.com>>



perl v5.32.1                                 2022-01-31            [DH_AUTOTOOLS-DEV_RESTORECONFIG(1)](https://www.chedong.com/phpMan.php/man/DHAUTOTOOLS-DEVRESTORECONFIG/1/markdown)
