build_style/gnu-makefile: allow good makefiles

This commit is contained in:
Toyam Cox 2017-03-07 04:34:38 -05:00
parent 24cc7850b5
commit 2b19b7eb58
3 changed files with 14 additions and 7 deletions

View file

@ -645,7 +645,10 @@ arguments can be passed in via `configure_args`.
- `gnu-makefile` For packages that use GNU make, build arguments can be passed in via
`make_build_args` and install arguments via `make_install_args`. The build
target can be overridden via `make_build_target` and the install target
via `make_install_target`.
via `make_install_target`. This build style tries to compensate for makefiles
that do not respect environment variables, so well written makefiles, those
that do such things as append (`+=`) to variables, should have `make_use_env`
set in the body of the template.
- `go` For programs written in Go that follow the standard package
structure. The variable `go_import_path` must be set to the package's