summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRunciter2024-10-24 23:43:52 +0800
committerRunciter2024-10-24 23:43:52 +0800
commit1bb276d2340eff428ff397dbd493646d880388c4 (patch)
tree2969506db461ce4cff264b1f13437004a08cc2e0 /Makefile.am
downloadcc-cedict-0.1.tar.gz
A AUTHORS A COPYING A ChangeLog A INSTALL A Makefile.am A Makefile.in A NEWS A README A aclocal.m4 A configure A configure.ac A install-sh A missing A mkdict-cedict A raw/cedict_1_0_ts_utf-8_mdbg.txt.gz
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