summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Kendrick (monotony) <rjek@rjek.com>2013-03-29 14:45:10 +0000
committerRob Kendrick (monotony) <rjek@rjek.com>2013-03-29 14:45:10 +0000
commit29f41d41e49f39fca9c85b3d8e89cc767ea6cc2e (patch)
tree2c4d8a18a8b1a4af20745b4bfc24061cd6f85a6d
parent85c0fc509e35060e385a759074ed0e4d749a4de5 (diff)
downloadluxio-29f41d41e49f39fca9c85b3d8e89cc767ea6cc2e.tar.gz
Makefile message tidies
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5d08eec..4111761 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,9 @@ else
EXTRA_LIBS :=
endif
-NAKED_LUA_VER := $(shell (pkg-config --modversion lua || pkg-config --variable V lua) | cut -d. -f1-2)
+NAKED_LUA_VER := $(shell (pkg-config --exists lua && \
+ pkg-config --modversion lua || \
+ pkg-config --variable V lua) | cut -d. -f1-2)
# fine appropriate Lua interpreter
LUA_REPL := $(shell (which lua5.1 > /dev/null 2>&1 && echo lua5.1) || \
@@ -64,9 +66,9 @@ ifneq ($(LUA51_PKG),NONE)
lua-5.1-try-install: lua-5.1-install
else
lua-5.1-try:
- @echo Lua 5.1 could not be found, so luxio was not built for it.
+ @echo Luxio: Lua 5.1 could not be found, so luxio was not built for it.
lua-5.1-try-install:
- @echo Lua 5.1 could not be found, so luxio was not installed for it.
+ @echo Luxio: Lua 5.1 could not be found, so luxio was not installed for it.
endif
LUA52_PKG := $(shell (pkg-config --exists lua5.2 && echo lua5.2) || \
@@ -101,9 +103,9 @@ ifneq ($(LUA52_PKG),NONE)
lua-5.2-try-install: lua-5.2-install
else
lua-5.2-try:
- @echo Lua 5.2 could not be found, so luxio was not built for it.
+ @echo Luxio: Lua 5.2 could not be found, so luxio was not built for it.
lua-5.2-try-install:
- @echo Lua 5.2 could not be found, so luxio was not installed for it.
+ @echo Luxio: Lua 5.2 could not be found, so luxio was not installed for it.
endif