diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-06-04 15:43:49 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-06-04 15:43:49 (GMT) |
commit | 929fda76b857547a577abeed255bd33eceed5cf8 (patch) | |
tree | 10a85c821833c931e1c84f27338751a91ad6e31f /patches | |
parent | 39dedfbcb65c93e5e111fba93f75507a56239076 (diff) |
Makefile: make it work for auto-completion
The latest autocompletion calls 'make -qp' to get all the possible
targets. This currently fails, as our makefile is calling itself
again and again ad-libitum.
Fix it by detecting that the recursion level is not 0, and bail out
if so. It works so well that it has the side effect of showing only
the 'public' target, and hide our internal ones! :-)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'patches')
0 files changed, 0 insertions, 0 deletions