{
    "mode": "man",
    "parameter": "dh_autotools-dev_restoreconfig",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/dh_autotools-dev_restoreconfig/1/json",
    "generated": "2026-05-30T05:15:41Z",
    "synopsis": "dhautotools-devrestoreconfig [debhelper options]",
    "sections": {
        "NAME": {
            "content": "dhautotools-devrestoreconfig - restore config.sub and config.guess\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "dhautotools-devrestoreconfig [debhelper options]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Deprecated: dhautotools-devupdateconfig and dhautotools-devrestoreconfig are deprecated\nand replaced by dhupdateautotoolsconfig(1) and dhclean(1) from debhelper.  Please replace\nall uses of dhautotools-devupdateconfig with dhupdateautotoolsconfig and then remove any\nuse of dhautotools-devrestoreconfig.\n\ndhautotools-devrestoreconfig restores the original config.sub and config.guess files that\nhave been backed up by dhautotools-devupdateconfig under the names config.sub.dh-orig and\nconfig.guess.dh-orig.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "dhautotools-devrestoreconfig is usually called indirectly in a rules file via the dh\ncommand.\n\n%:\ndh $@ --with autotoolsdev\n\nIt can also be direcly called in the clean rule.\n\nclean:\ndhtestdir\ndhtestroot\n[ ! -f Makefile ] || $(MAKE) clean\ndhautotools-devrestoreconfig\ndhclean\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "debhelper(7), dh(1).\n\nThis program is meant to be used together with debhelper.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Fabian Greffrath <fabian+debian@greffrath.com>\n\n\n\nperl v5.32.1                                 2022-01-31            DHAUTOTOOLS-DEVRESTORECONFIG(1)",
            "subsections": []
        }
    },
    "summary": "dhautotools-devrestoreconfig - restore config.sub and config.guess",
    "flags": [],
    "examples": [
        "dhautotools-devrestoreconfig is usually called indirectly in a rules file via the dh",
        "command.",
        "%:",
        "dh $@ --with autotoolsdev",
        "It can also be direcly called in the clean rule.",
        "clean:",
        "dhtestdir",
        "dhtestroot",
        "[ ! -f Makefile ] || $(MAKE) clean",
        "dhautotools-devrestoreconfig",
        "dhclean"
    ],
    "see_also": [
        {
            "name": "debhelper",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/debhelper/7/json"
        },
        {
            "name": "dh",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/dh/1/json"
        }
    ]
}