1 - al_make_install

al_make_install

load("@com_alwaldend_src//tools/make_install/rules:al_make_install.bzl", "al_make_install")

al_make_install(name, srcs)

Create the make install executable and a filegroup

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
srcsMake install filegroupsList of labelsoptional[]

2 - al_make_install_binary

al_make_install_binary

load("@com_alwaldend_src//tools/make_install/rules: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

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
srcMake install targetLabelrequired
argumentsArugments for the executableList of stringsoptional[]

3 - al_make_install_filegroup

al_make_install_filegroup

load("@com_alwaldend_src//tools/make_install/rules: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

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
depsDepsList of labelsoptional[]
srcsSources to installList of labelsoptional[]
diff_argsDiff argsList of stringsoptional[]
install_argsInstall argsList of stringsoptional["--compare", "-D"]
install_dirInstall directoryStringoptional"${HOME}"
pkg_prefixIgnore that prefix for srcsStringrequired

4 - al_make_install_filegroup_info

load("@com_alwaldend_src//tools/make_install/rules: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

NameDescription
srcsdepset of PackageFilegroupInfo
depsdepset of AlMakeInstallFilegroupInfo
install_dirInstall directory
originRule label
install_argsArgs for the install command
diff_argsArgs for the diff command
pkg_prefixIgnore that prefix for srcs