summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..2771231
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,15 @@
+dictdir = $(pkgdatadir)
+dict_DATA = cedict-bare.dict
+dict_DATA += cedict-bare.index
+dict_DATA += cedict-numb.dict
+dict_DATA += cedict-numb.index
+dict_DATA += cedict-pinyin.dict
+dict_DATA += cedict-pinyin.index
+dict_DATA += cedict-smpl.dict
+dict_DATA += cedict-smpl.index
+dict_DATA += cedict-trad.dict
+dict_DATA += cedict-trad.index
+CLEANFILES = $(dict_data)
+
+$(dict_DATA): mkdict-cedict raw/cedict_1_0_ts_utf-8_mdbg.txt.gz
+ $(srcdir)/mkdict-cedict $(srcdir)/raw/cedict_1_0_ts_utf-8_mdbg.txt.gz