summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2016-03-02 21:21:37 +0800
committerDeterminant <[email protected]>2016-03-02 21:21:37 +0800
commit731b55496cedb46dff3486e7dd38f51b083ce113 (patch)
treef09473caf2896b2ac6b500ff369f6ae51659dd36
parent18b0e3d993ec5ce8e97a6affb533c9ace940bfff (diff)
...
-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/