diff options
author | Matthieu Crapet <mcrapet@gmail.com> | 2014-03-28 14:11:15 +0100 |
---|---|---|
committer | Jorge Lucangeli Obes <jorgelo@google.com> | 2015-09-03 14:13:03 -0700 |
commit | 203b6d06e3ad158d7cf5e9232c6de1b8c6a776a9 (patch) | |
tree | c3673008ec652c36cdd2d87c61658c4f382d6595 /libcap | |
parent | 2749c0d767715ffd50b2a8a1049796161506eb54 (diff) | |
download | libcap-203b6d06e3ad158d7cf5e9232c6de1b8c6a776a9.tar.gz |
Make.Rules: add gperf detection and fix INDENT test
Move gperf detection from libcap/Makefile to Make.Rules to be more cross-environment friendly.
Fix INDENT test (dollar sign must be doubled):
http://www.gnu.org/software/make/manual/make.html#Variables-in-Recipes
Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>
Signed-off-by: Andrew G Morgan <morgan@kernel.org>
Diffstat (limited to 'libcap')
-rw-r--r-- | libcap/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcap/Makefile b/libcap/Makefile index 20ab00f..80ccf3c 100644 --- a/libcap/Makefile +++ b/libcap/Makefile @@ -28,7 +28,7 @@ GPERF_OUTPUT = _caps_output.gperf all: $(MINLIBNAME) $(STALIBNAME) libcap.pc -ifeq ($(shell gperf --version > /dev/null 2>&1 && echo yes),yes) +ifeq ($(BUILD_GPERF),yes) USE_GPERF_OUTPUT = $(GPERF_OUTPUT) INCLUDE_GPERF_OUTPUT = -include $(GPERF_OUTPUT) endif |