~ubuntu-branches/ubuntu/lucid/libchewing/lucid

« back to all changes in this revision

Viewing changes to data/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Kanru Chen
  • Date: 2008-12-04 15:34:03 UTC
  • mfrom: (1.1.4 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081204153403-l9cksddl1k2e71zy
Tags: 0.3.2-1
* New Upstream Version 
* [5d96bf5] Update watch address
* [351d417] Add Vcs-Git field
* [63cd26a] Add Vcs-Browser field
* [e2a59e2] Conflict with scim-chewing << 0.3.3
* [cd15be8] Change libchewing3-data from all to any since we build
  binary data now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
ECHO_N = @ECHO_N@
69
69
ECHO_T = @ECHO_T@
70
70
EGREP = @EGREP@
 
71
ENABLE_BINARY_DATA = @ENABLE_BINARY_DATA@
71
72
EXEEXT = @EXEEXT@
72
73
FGREP = @FGREP@
73
74
GREP = @GREP@
165
166
top_builddir = @top_builddir@
166
167
top_srcdir = @top_srcdir@
167
168
tooldir = $(top_builddir)/src/tools
 
169
@ENABLE_BINARY_DATA_FALSE@chindexs = ch_index.dat
 
170
@ENABLE_BINARY_DATA_TRUE@chindexs = ch_index_begin.dat \
 
171
@ENABLE_BINARY_DATA_TRUE@                  ch_index_phone.dat
 
172
 
168
173
datas = \
169
174
        us_freq.dat \
170
 
        ch_index.dat \
171
175
        dict.dat \
172
176
        ph_index.dat \
173
 
        fonetree.dat
 
177
        fonetree.dat \
 
178
        $(chindexs)
174
179
 
175
180
generated_header = $(top_builddir)/src/chewing-definition.h
176
181
CLEANFILES = $(datas) gendata_stamp checkdata_stamp $(generated_header)
353
358
                echo "chewing-definition.h exists."; \
354
359
        else \
355
360
                $(MAKE) gendata; \
356
 
                $(MAKE) convert_dat; \
357
 
                $(MAKE) gendata2; \
358
361
        fi
359
362
        @echo "timestamp" > $@
360
363
 
361
364
gendata:
362
 
#if ENABLE_BINARY_DATA
363
 
#convert_dat:
364
 
#       $(tooldir)/dat2bin
365
 
#gendata2: ch_index.dat_bin fonetree.dat_bin ph_index.dat_bin
366
 
#       -mv -f ch_index.dat_bin ch_index.dat
367
 
#       -mv -f fonetree.dat_bin fonetree.dat
368
 
#       -mv -f ph_index.dat_bin ph_index.dat
369
 
#else
370
365
        $(tooldir)/sort_word
371
366
        $(tooldir)/sort_dic $(top_srcdir)/data/tsi.src
372
367
        $(tooldir)/maketree
373
 
convert_dat:
374
 
        @echo "Nothing in convert_dat"
375
 
gendata2:
376
 
        @echo "Nothing in gendata2"
377
 
#endif
378
368
        -rm -f phoneid.dic
379
369
        -mv -f chewing-definition.h $(top_builddir)/src/
380
370