ef85bd7e83
git-svn-id: svn://atos.wmid.amu.edu.pl/utt@17 e293616e-ec6a-49c2-aa92-f4a8b91c5d16
34 lines
632 B
Makefile
34 lines
632 B
Makefile
|
|
CUR_DIR=$(shell pwd)
|
|
|
|
#directory with dictionary source
|
|
export UTT_DIC_SRC_HOME=${CUR_DIR}/src
|
|
#directory with configuration files
|
|
export UTT_DIC_CONF_HOME=${CUR_DIR}/conf
|
|
#directory where compiled dictionaries will be placed
|
|
export UTT_DIC_BIN=$(CUR_DIR)/dic
|
|
#directory where distribution will be placed
|
|
export UTT_DIC_OUTPUT=${CUR_DIR}
|
|
|
|
|
|
# path to dictionary compiler
|
|
DIC_COMPILER=../app/src/compiledic/compiledic
|
|
|
|
|
|
|
|
.PHONY: compile
|
|
compile:
|
|
#$DIC_COMPILER ...
|
|
|
|
|
|
|
|
.PHONY: distribute
|
|
distribute: compile dist_tarball
|
|
@echo "Distribution ready!"
|
|
|
|
|
|
.PHONY: dist_tarball
|
|
dist_tarball:
|
|
cd dist && make tarball; cd ${CUR_DIR};
|
|
|