dh_autotools-dev_restoreconfig(1)

dh_autotools-dev_restoreconfig1

Restore config.sub and config.guess

Usage

dh_autotools-dev_restoreconfig [debhelper options]

Overview

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_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

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

Fabian Greffrath <[email protected]>

From autotools-dev 20240727.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.