summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kaldi_io/kaldi_io-scm-1.rockspec1
-rw-r--r--speech_utils/Makefile4
2 files changed, 5 insertions, 0 deletions
diff --git a/kaldi_io/kaldi_io-scm-1.rockspec b/kaldi_io/kaldi_io-scm-1.rockspec
index 5a97cff..0b47c1e 100644
--- a/kaldi_io/kaldi_io-scm-1.rockspec
+++ b/kaldi_io/kaldi_io-scm-1.rockspec
@@ -12,6 +12,7 @@ description = {
}
dependencies = {
"nerv >= scm-1",
+ "speech_utils >= scm-1",
"lua >= 5.1"
}
build = {
diff --git a/speech_utils/Makefile b/speech_utils/Makefile
index b288322..7bca179 100644
--- a/speech_utils/Makefile
+++ b/speech_utils/Makefile
@@ -1,3 +1,7 @@
+ifndef LUA_BINDIR
+$(error Please build the package via luarocks: `luarocks make`)
+endif
+
SHELL := /bin/bash
BUILD_DIR := $(CURDIR)/build
INC_PATH := $(LUA_BINDIR)/../include/