This is the multi-page printable view of this section. Click here to print.
Bzl
Bazel code
- 1: al_make_install
- 2: al_make_install_binary
- 3: al_make_install_filegroup
- 4: al_make_install_filegroup_info
1 - al_make_install
al_make_install
load("@com_alwaldend_src//tools/make_install/main/bzl:al_make_install.bzl", "al_make_install")
al_make_install(name, srcs)
Create the make install executable and a filegroup
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| srcs | Make install filegroups | List of labels | optional | [] |
2 - al_make_install_binary
al_make_install_binary
load("@com_alwaldend_src//tools/make_install/main/bzl:al_make_install_binary.bzl", "al_make_install_binary")
al_make_install_binary(name, src, arguments)
Create a binary target for a make install
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| src | Make install target | Label | required | |
| arguments | Arugments for the executable | List of strings | optional | [] |
3 - al_make_install_filegroup
al_make_install_filegroup
load("@com_alwaldend_src//tools/make_install/main/bzl:al_make_install_filegroup.bzl", "al_make_install_filegroup")
al_make_install_filegroup(name, deps, srcs, diff_args, install_args, install_dir, pkg_prefix)
Create a make install filegroup
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| deps | Deps | List of labels | optional | [] |
| srcs | Sources to install | List of labels | optional | [] |
| diff_args | Diff args | List of strings | optional | [] |
| install_args | Install args | List of strings | optional | ["--compare", "-D"] |
| install_dir | Install directory | String | optional | "${HOME}" |
| pkg_prefix | Ignore that prefix for srcs | String | required |
4 - al_make_install_filegroup_info
AlMakeInstallFilegroupInfo
load("@com_alwaldend_src//tools/make_install/main/bzl:al_make_install_filegroup_info.bzl", "AlMakeInstallFilegroupInfo")
AlMakeInstallFilegroupInfo(srcs, deps, install_dir, origin, install_args, diff_args, pkg_prefix)
Describe install info for a single filegrop
FIELDS