{
    "mode": "perldoc",
    "parameter": "Dpkg::Build::Types",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Dpkg%3A%3ABuild%3A%3ATypes/json",
    "generated": "2026-06-14T07:47:32Z",
    "sections": {
        "NAME": {
            "content": "Dpkg::Build::Types - track build types\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The Dpkg::Build::Types module is used by various tools to track and decide what artifacts need\nto be built.\n\nThe build types are bit constants that are exported by default. Multiple types can be ORed.\n",
            "subsections": []
        },
        "CONSTANTS": {
            "content": "BUILDDEFAULT\nThis build is the default.\n\nBUILDSOURCE\nThis build includes source artifacts.\n\nBUILDARCHDEP\nThis build includes architecture dependent binary artifacts.\n\nBUILDARCHINDEP\nThis build includes architecture independent binary artifacts.\n\nBUILDBINARY\nThis build includes binary artifacts.\n\nBUILDFULL\nThis build includes source and binary artifacts.\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "build_has_any",
                    "content": "Return a boolean indicating whether the current build type has any of the specified $bits.\n"
                },
                {
                    "name": "build_has_all",
                    "content": "Return a boolean indicating whether the current build type has all the specified $bits.\n"
                },
                {
                    "name": "build_has_none",
                    "content": "Return a boolean indicating whether the current build type has none of the specified $bits.\n"
                },
                {
                    "name": "build_is",
                    "content": "Return a boolean indicating whether the current build type is the specified set of $bits.\n"
                },
                {
                    "name": "set_build_type",
                    "content": "Set the current build type to $buildtype, which was specified via the $buildoption\ncommand-line option.\n\nThe function will check and abort on incompatible build type assignments, this behavior can\nbe disabled by using the boolean option \"nocheck\".\n"
                },
                {
                    "name": "set_build_type_from_options",
                    "content": "Set the current build type from a list of comma-separated build type components.\n\nThe function will check and abort on incompatible build type assignments, this behavior can\nbe disabled by using the boolean option \"nocheck\".\n"
                },
                {
                    "name": "set_build_type_from_targets",
                    "content": "Set the current build type from a list of comma-separated build target components.\n\nThe function will check and abort on incompatible build type assignments, this behavior can\nbe disabled by using the boolean option \"nocheck\".\n"
                },
                {
                    "name": "get_build_options_from_type",
                    "content": "Get the current build type as a set of comma-separated string options.\n"
                }
            ]
        },
        "CHANGES": {
            "content": "",
            "subsections": [
                {
                    "name": "Version 0.xx",
                    "content": "This is a private module.\n"
                }
            ]
        }
    },
    "summary": "Dpkg::Build::Types - track build types",
    "flags": [],
    "examples": [],
    "see_also": []
}