{
    "content": [
        {
            "type": "text",
            "text": "# dh_autotools-dev_restoreconfig(1) (man)\n\n**Summary:** dhautotools-devrestoreconfig - restore config.sub and config.guess\n\n**Synopsis:** dhautotools-devrestoreconfig [debhelper options]\n\n## Examples\n\n- `dhautotools-devrestoreconfig is usually called indirectly in a rules file via the dh`\n- `command.`\n- `%:`\n- `dh $@ --with autotoolsdev`\n- `It can also be direcly called in the clean rule.`\n- `clean:`\n- `dhtestdir`\n- `dhtestroot`\n- `[ ! -f Makefile ] || $(MAKE) clean`\n- `dhautotools-devrestoreconfig`\n- `dhclean`\n\n## See Also\n\n- debhelper(7)\n- dh(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (9 lines)\n- **EXAMPLES** (15 lines)\n- **SEE ALSO** (4 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\ndhautotools-devrestoreconfig - restore config.sub and config.guess\n\n### SYNOPSIS\n\ndhautotools-devrestoreconfig [debhelper options]\n\n### DESCRIPTION\n\nDeprecated: 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\n### EXAMPLES\n\ndhautotools-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\n### SEE ALSO\n\ndebhelper(7), dh(1).\n\nThis program is meant to be used together with debhelper.\n\n### AUTHOR\n\nFabian Greffrath <fabian+debian@greffrath.com>\n\n\n\nperl v5.32.1                                 2022-01-31            DHAUTOTOOLS-DEVRESTORECONFIG(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "dh_autotools-dev_restoreconfig",
        "section": "1",
        "mode": "man",
        "summary": "dhautotools-devrestoreconfig - restore config.sub and config.guess",
        "synopsis": "dhautotools-devrestoreconfig [debhelper options]",
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}