From d85a24507314194f1597c4c5d6c460408fcd3a9e Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Mon, 21 Mar 2011 13:00:05 -0400 Subject: Add auto correct "on" => "ong", and combine some fuzzy pinyin options to save flag bits. BUG=none TEST=Linux desktop Review URL: http://codereview.appspot.com/4273085 --- data/db/android/Makefile.am | 3 ++- data/db/open-phrase/Makefile.am | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/db/android/Makefile.am b/data/db/android/Makefile.am index 76f4e33..7574596 100644 --- a/data/db/android/Makefile.am +++ b/data/db/android/Makefile.am @@ -39,7 +39,8 @@ endif android.db: $(android_raw_data) $(create_scripts) $(AM_V_GEN) \ $(RM) $@; \ - $(srcdir)/create_db.py $(srcdir)/rawdict_utf16_65105_freq.txt | @SQLITE3@ $@ + $(srcdir)/create_db.py $(srcdir)/rawdict_utf16_65105_freq.txt | @SQLITE3@ $@ || \ + ( $(RM) $@ ; exit 1 ) EXTRA_DIST = \ $(data_files) \ diff --git a/data/db/open-phrase/Makefile.am b/data/db/open-phrase/Makefile.am index 32bc052..f343ec5 100644 --- a/data/db/open-phrase/Makefile.am +++ b/data/db/open-phrase/Makefile.am @@ -30,7 +30,9 @@ DBVER = 1.2.99 DBTAR = pinyin-database-$(DBVER).tar.bz2 $(DBTAR): - wget http://ibus.googlecode.com/files/$(DBTAR) + $(AM_V_GEN) \ + wget http://ibus.googlecode.com/files/$(DBTAR) && \ + ( $(RM) $@; exit 1) stamp-db: $(DBTAR) $(AM_V_GEN) \ -- cgit