af26361837
The idea here is to try to detect the use of "make" instead of "gmake" on FreeBSD. After having long tried, there's no way to construct a condition that is common to both makefile languages and could serve as a differentiator since there's simply no common word between the two languages. However on FreeBSD (the main used BSD platform), "make" is configured to look for BSDmakefile before the other ones. It allows us to intercept it and explain to use gmake with an example of a roughly converted make command line (we just strip "-J xx,xx" that systematically gets inserted if "-j" is used). A few tricks are used, such as creating a dummy target on the fly based on the requested one just to silence the output, and always match "all" since it's used by default when no target is specified. .DEFAULTS was initially used but finally dropped thanks to this. For example: $ make -j$(getconf NPROCESSORS_ONLN) TARGET=freebsd USE_OPENSSL=1 Please use GNU make instead. It is often called gmake. Example: gmake -j 4 TARGET=freebsd USE_OPENSSL=1 all It will often be sufficient to permit a copy-paste and to try again. Note that the .gitignore was updated. |
||
---|---|---|
.github | ||
addons | ||
admin | ||
dev | ||
doc | ||
examples | ||
include | ||
reg-tests | ||
scripts | ||
src | ||
tests | ||
.cirrus.yml | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
BRANCHES | ||
BSDmakefile | ||
CHANGELOG | ||
CONTRIBUTING | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README | ||
SUBVERS | ||
VERDATE | ||
VERSION |
README
The HAProxy documentation has been split into a number of different files for ease of use. Please refer to the following files depending on what you're looking for : - INSTALL for instructions on how to build and install HAProxy - BRANCHES to understand the project's life cycle and what version to use - LICENSE for the project's license - CONTRIBUTING for the process to follow to submit contributions The more detailed documentation is located into the doc/ directory : - doc/intro.txt for a quick introduction on HAProxy - doc/configuration.txt for the configuration's reference manual - doc/lua.txt for the Lua's reference manual - doc/SPOE.txt for how to use the SPOE engine - doc/network-namespaces.txt for how to use network namespaces under Linux - doc/management.txt for the management guide - doc/regression-testing.txt for how to use the regression testing suite - doc/peers.txt for the peers protocol reference - doc/coding-style.txt for how to adopt HAProxy's coding style - doc/internals for developer-specific documentation (not all up to date)