summaryrefslogtreecommitdiff
path: root/kaldi_seq/Makefile
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2016-02-29 20:03:52 +0800
committerDeterminant <ted.sybil@gmail.com>2016-02-29 20:03:52 +0800
commit1e0ac0fb5c9f517e7325deb16004de1054454da7 (patch)
treec75a6f0fc9aa50caa9fb9dccec7a56b41d3b63fd /kaldi_seq/Makefile
parentfda1c8cf07c5130aff53775454a5f2cfc8f5d2e0 (diff)
refactor kaldi_decode
Diffstat (limited to 'kaldi_seq/Makefile')
-rw-r--r--kaldi_seq/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/kaldi_seq/Makefile b/kaldi_seq/Makefile
index e76eea8..c712319 100644
--- a/kaldi_seq/Makefile
+++ b/kaldi_seq/Makefile
@@ -1,6 +1,12 @@
-# Change KDIR to `kaldi-trunk' path (Kaldi must be compiled with --share)
-KDIR := /slfs6/users/ymz09/kaldi/
+ifndef LUA_BINDIR
+$(error Please build the package via luarocks: `luarocks make`)
+endif
+ifndef KALDI_BASE
+$(error KALDI_BASE is not set)
+endif
+
+KDIR := $(KALDI_BASE)
SHELL := /bin/bash
BUILD_DIR := $(CURDIR)/build
INC_PATH := $(LUA_BINDIR)/../include/