]> git.baikalelectronics.ru Git - kernel.git/commit
tools: bpftool: harmonise Makefile and Documentation/Makefile
authorQuentin Monnet <quentin.monnet@netronome.com>
Thu, 7 Dec 2017 23:00:17 +0000 (15:00 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 8 Dec 2017 19:14:02 +0000 (20:14 +0100)
commit73afc2f4c2681a64bc5b1f50fb295e4fe75eb65a
tree5577f42990c84d5b78b6923a0bb57a45ed487b2f
parent7e20a08c922c58ce9d0fb27c6498ed0f54bbcd76
tools: bpftool: harmonise Makefile and Documentation/Makefile

Several minor fixes and harmonisation items for Makefiles:

* Use the same mechanism for verbose/non-verbose output in two files
  ("$(Q)"), for all commands.
* Use calls to "QUIET_INSTALL" and equivalent in Makefile. In
  particular, use "call(descend, ...)" instead of "make -C" to run
  documentation targets.
* Add a "doc-clean" target, aligned on "doc" and "doc-install".
* Make "install" target in Makefile depend on "bpftool".
* Remove condition on DESTDIR to initialise prefix in doc Makefile.
* Remove modification of VPATH based on OUTPUT, it is unused.
* Formatting: harmonise spaces around equal signs.
* Make install path for man pages /usr/local/man instead of
  /usr/local/share/man (respects the Makefile conventions, and the
  latter is usually a symbolic link to the former anyway).
* Do not erase prefix if set by user in bpftool Makefile.
* Fix install target for bpftool: append DESTDIR to install path.

Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/bpf/bpftool/Documentation/Makefile
tools/bpf/bpftool/Makefile