summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-11-29 09:24:39 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-11-29 09:24:39 +0000
commitc670dd05b037f2d2c8d5f2b7c01e117af6ea54b6 (patch)
tree10abd45101722e6a5e065f510a1f85b0e7468ddd /Makefile
parent33d5f174a41472795e3cc833db4932afba388ca7 (diff)
downloadgitano-c670dd05b037f2d2c8d5f2b7c01e117af6ea54b6.tar.gz
Ensure that build fails early if bins don't parse properly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ed7333c..e7b8b29 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ all: local
LUA_VER := 5.1
LUA := /usr/bin/lua$(LUA_VER)
+LUAC := /usr/bin/luac$(LUA_VER)
PREFIX ?= /usr/local
INST_ROOT := $(PREFIX)
SYSCONF_DIR ?= /etc
@@ -113,6 +114,7 @@ install -m 644 $1 $2
endef
local: $(LOCAL_BINS)
+ $(LUAC) -p $(LOCAL_BINS)
clean:
@echo "CLEAN: local binaries"