summaryrefslogtreecommitdiff
blob: f9ee4e4c7ecc9deea2f4baf6ba7fad7c9621e565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff -urN anthy-8819.orig/calctrans/Makefile.am anthy-8819/calctrans/Makefile.am
--- anthy-8819.orig/calctrans/Makefile.am	2007-04-19 21:44:15.000000000 +0900
+++ anthy-8819/calctrans/Makefile.am	2007-04-20 22:44:01.398125421 +0900
@@ -11,20 +11,20 @@
 proccorpus_SOURCES = proccorpus.c
 proccorpus_LDADD = ../src-util/libconvdb.la ../src-main/libanthy.la ../src-worddic/libanthydic.la
 
-update_params:
+update_params: proccorpus calctrans
 	./proccorpus $(srcdir)/corpus.?.txt > parsed_data
 	./calctrans parsed_data -o $(srcdir)/corpus_info
 	./calctrans -c $(srcdir)/corpus_info
 	rm -f anthy.cand_info anthy.trans_info anthy.corpus_array anthy.corpus_bucket
 	make anthy.cand_info anthy.trans_info anthy.corpus_array anthy.corpus_bucket
 
-anthy.trans_info: $(srcdir)/corpus_info
+anthy.trans_info: calctrans $(srcdir)/corpus_info
 	./calctrans -c $(srcdir)/corpus_info
-anthy.cand_info: $(srcdir)/corpus_info
+anthy.cand_info: calctrans $(srcdir)/corpus_info
 	./calctrans -c $(srcdir)/corpus_info
-anthy.corpus_array: $(srcdir)/corpus_info
+anthy.corpus_array: calctrans $(srcdir)/corpus_info
 	./calctrans -c $(srcdir)/corpus_info
-anthy.corpus_bucket: $(srcdir)/corpus_info
+anthy.corpus_bucket: calctrans $(srcdir)/corpus_info
 	./calctrans -c $(srcdir)/corpus_info
 
 noinst_DATA = anthy.trans_info anthy.cand_info anthy.corpus_array anthy.corpus_bucket