~ubuntu-branches/ubuntu/vivid/ibus-cangjie/vivid

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Package Import Robot
  • Author(s): Anthony Wong, Anthony Wong, Anthony Fok
  • Date: 2013-09-22 17:50:27 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130922175027-cgev18u7isrr5nbd
Tags: 1.0-1
[ Anthony Wong ]
* New upstream version 1.0.
* Upload to Debian (Closes: #712684)

[ Anthony Fok ]
* Update debian/copyright to reflect upstream's relicensing from
  LGPL-3+ to GPL-3+ (as of git20130413).  Thanks to Paul Tagliamonte
  of the ftpmaster team for catching the change!
* Change Homepage field to http://ibus-cangjie.opensource.hk/
* Add myself to the Uploaders field
* Add debian/watch
* Use dh-autoreconf to avoid potential build problem when timestamps differ.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11.6 from Makefile.am.
 
1
# Makefile.in generated by automake 1.13.1 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
 
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
 
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6
 
# Foundation, Inc.
 
4
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
 
5
 
7
6
# This Makefile.in is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy and/or distribute it,
9
8
# with or without modifications, as long as this notice is preserved.
53
52
build_triplet = @build@
54
53
host_triplet = @host@
55
54
subdir = .
56
 
DIST_COMMON = README $(am__configure_deps) $(ibus_cangjie_PYTHON) \
57
 
        $(ibus_cangjie_setup_PYTHON) $(srcdir)/Makefile.am \
58
 
        $(srcdir)/Makefile.in $(srcdir)/config.h.in \
59
 
        $(top_srcdir)/configure $(top_srcdir)/data/cangjie.xml.in.in \
60
 
        $(top_srcdir)/data/quick.xml.in.in ABOUT-NLS AUTHORS COPYING \
61
 
        ChangeLog NEWS config.guess config.rpath config.sub install-sh \
62
 
        missing py-compile
 
55
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
 
56
        $(top_srcdir)/configure $(am__configure_deps) \
 
57
        $(srcdir)/config.h.in $(top_srcdir)/data/cangjie.xml.in.in \
 
58
        $(top_srcdir)/data/quick.xml.in.in $(ibus_cangjie_PYTHON) \
 
59
        $(ibus_cangjie_setup_PYTHON) py-compile test-driver ABOUT-NLS \
 
60
        AUTHORS COPYING ChangeLog NEWS README config.guess \
 
61
        config.rpath config.sub install-sh missing
63
62
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
64
63
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
65
64
        $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
108
107
        "$(DESTDIR)$(ibus_cangjiedir)" "$(DESTDIR)$(componentdir)" \
109
108
        "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(ibus_cangjie_datadir)"
110
109
SCRIPTS = $(bin_SCRIPTS) $(pkglibexec_SCRIPTS)
 
110
AM_V_P = $(am__v_P_@AM_V@)
 
111
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 
112
am__v_P_0 = false
 
113
am__v_P_1 = :
111
114
AM_V_GEN = $(am__v_GEN_@AM_V@)
112
115
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
113
 
am__v_GEN_0 = @echo "  GEN   " $@;
 
116
am__v_GEN_0 = @echo "  GEN     " $@;
 
117
am__v_GEN_1 = 
114
118
AM_V_at = $(am__v_at_@AM_V@)
115
119
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
116
120
am__v_at_0 = @
 
121
am__v_at_1 = 
117
122
SOURCES =
118
123
DIST_SOURCES =
119
 
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
120
 
        html-recursive info-recursive install-data-recursive \
121
 
        install-dvi-recursive install-exec-recursive \
122
 
        install-html-recursive install-info-recursive \
123
 
        install-pdf-recursive install-ps-recursive install-recursive \
124
 
        installcheck-recursive installdirs-recursive pdf-recursive \
125
 
        ps-recursive uninstall-recursive
 
124
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
 
125
        ctags-recursive dvi-recursive html-recursive info-recursive \
 
126
        install-data-recursive install-dvi-recursive \
 
127
        install-exec-recursive install-html-recursive \
 
128
        install-info-recursive install-pdf-recursive \
 
129
        install-ps-recursive install-recursive installcheck-recursive \
 
130
        installdirs-recursive pdf-recursive ps-recursive \
 
131
        tags-recursive uninstall-recursive
126
132
am__can_run_installinfo = \
127
133
  case $$AM_UPDATE_INFO_DIR in \
128
134
    n|no|NO) false;; \
129
135
    *) (install-info --version) >/dev/null 2>&1;; \
130
136
  esac
131
137
am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile)
 
138
am__pep3147_tweak = \
 
139
  sed -e 's|\.py$$||' -e 's|[^/]*$$|__pycache__/&.*.py|'
132
140
py_compile = $(top_srcdir)/py-compile
133
141
DATA = $(component_DATA) $(desktop_DATA) $(ibus_cangjie_data_DATA)
134
142
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
135
143
  distclean-recursive maintainer-clean-recursive
136
 
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
137
 
        $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
138
 
        distdir dist dist-all distcheck
 
144
am__recursive_targets = \
 
145
  $(RECURSIVE_TARGETS) \
 
146
  $(RECURSIVE_CLEAN_TARGETS) \
 
147
  $(am__extra_recursive_targets)
 
148
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
 
149
        cscope check recheck distdir dist dist-all distcheck
 
150
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
 
151
        $(LISP)config.h.in
 
152
# Read a list of newline-separated strings from the standard input,
 
153
# and print each of them once, without duplicates.  Input order is
 
154
# *not* preserved.
 
155
am__uniquify_input = $(AWK) '\
 
156
  BEGIN { nonempty = 0; } \
 
157
  { items[$$0] = 1; nonempty = 1; } \
 
158
  END { if (nonempty) { for (i in items) print i; }; } \
 
159
'
 
160
# Make sure the list of sources is unique.  This is necessary because,
 
161
# e.g., the same source file might be shared among _SOURCES variables
 
162
# for different programs/libraries.
 
163
am__define_uniq_tagged_files = \
 
164
  list='$(am__tagged_files)'; \
 
165
  unique=`for i in $$list; do \
 
166
    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
167
  done | $(am__uniquify_input)`
139
168
ETAGS = etags
140
169
CTAGS = ctags
141
 
am__tty_colors = \
142
 
red=; grn=; lgn=; blu=; std=
 
170
CSCOPE = cscope
 
171
am__tty_colors_dummy = \
 
172
  mgn= red= grn= lgn= blu= brg= std=; \
 
173
  am__color_tests=no
 
174
am__tty_colors = { \
 
175
  $(am__tty_colors_dummy); \
 
176
  if test "X$(AM_COLOR_TESTS)" = Xno; then \
 
177
    am__color_tests=no; \
 
178
  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
 
179
    am__color_tests=yes; \
 
180
  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
 
181
    am__color_tests=yes; \
 
182
  fi; \
 
183
  if test $$am__color_tests = yes; then \
 
184
    red=''; \
 
185
    grn=''; \
 
186
    lgn=''; \
 
187
    blu=''; \
 
188
    mgn=''; \
 
189
    brg=''; \
 
190
    std=''; \
 
191
  fi; \
 
192
}
 
193
am__recheck_rx = ^[     ]*:recheck:[    ]*
 
194
am__global_test_result_rx = ^[  ]*:global-test-result:[         ]*
 
195
am__copy_in_global_log_rx = ^[  ]*:copy-in-global-log:[         ]*
 
196
# A command that, given a newline-separated list of test names on the
 
197
# standard input, print the name of the tests that are to be re-run
 
198
# upon "make recheck".
 
199
am__list_recheck_tests = $(AWK) '{ \
 
200
  recheck = 1; \
 
201
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
202
    { \
 
203
      if (rc < 0) \
 
204
        { \
 
205
          if ((getline line2 < ($$0 ".log")) < 0) \
 
206
            recheck = 0; \
 
207
          break; \
 
208
        } \
 
209
      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
 
210
        { \
 
211
          recheck = 0; \
 
212
          break; \
 
213
        } \
 
214
      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
 
215
        { \
 
216
          break; \
 
217
        } \
 
218
    }; \
 
219
  if (recheck) \
 
220
    print $$0; \
 
221
  close ($$0 ".trs"); \
 
222
  close ($$0 ".log"); \
 
223
}'
 
224
# A command that, given a newline-separated list of test names on the
 
225
# standard input, create the global log from their .trs and .log files.
 
226
am__create_global_log = $(AWK) ' \
 
227
function fatal(msg) \
 
228
{ \
 
229
  print "fatal: making $@: " msg | "cat >&2"; \
 
230
  exit 1; \
 
231
} \
 
232
function rst_section(header) \
 
233
{ \
 
234
  print header; \
 
235
  len = length(header); \
 
236
  for (i = 1; i <= len; i = i + 1) \
 
237
    printf "="; \
 
238
  printf "\n\n"; \
 
239
} \
 
240
{ \
 
241
  copy_in_global_log = 1; \
 
242
  global_test_result = "RUN"; \
 
243
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
244
    { \
 
245
      if (rc < 0) \
 
246
         fatal("failed to read from " $$0 ".trs"); \
 
247
      if (line ~ /$(am__global_test_result_rx)/) \
 
248
        { \
 
249
          sub("$(am__global_test_result_rx)", "", line); \
 
250
          sub("[        ]*$$", "", line); \
 
251
          global_test_result = line; \
 
252
        } \
 
253
      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
 
254
        copy_in_global_log = 0; \
 
255
    }; \
 
256
  if (copy_in_global_log) \
 
257
    { \
 
258
      rst_section(global_test_result ": " $$0); \
 
259
      while ((rc = (getline line < ($$0 ".log"))) != 0) \
 
260
      { \
 
261
        if (rc < 0) \
 
262
          fatal("failed to read from " $$0 ".log"); \
 
263
        print line; \
 
264
      }; \
 
265
      printf "\n"; \
 
266
    }; \
 
267
  close ($$0 ".trs"); \
 
268
  close ($$0 ".log"); \
 
269
}'
 
270
# Restructured Text title.
 
271
am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
 
272
# Solaris 10 'make', and several other traditional 'make' implementations,
 
273
# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
 
274
# by disabling -e (using the XSI extension "set +e") if it's set.
 
275
am__sh_e_setup = case $$- in *e*) set +e;; esac
 
276
# Default flags passed to test drivers.
 
277
am__common_driver_flags = \
 
278
  --color-tests "$$am__color_tests" \
 
279
  --enable-hard-errors "$$am__enable_hard_errors" \
 
280
  --expect-failure "$$am__expect_failure"
 
281
# To be inserted before the command running the test.  Creates the
 
282
# directory for the log if needed.  Stores in $dir the directory
 
283
# containing $f, in $tst the test, in $log the log.  Executes the
 
284
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
 
285
# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
 
286
# will run the test scripts (or their associated LOG_COMPILER, if
 
287
# thy have one).
 
288
am__check_pre = \
 
289
$(am__sh_e_setup);                                      \
 
290
$(am__vpath_adj_setup) $(am__vpath_adj)                 \
 
291
$(am__tty_colors);                                      \
 
292
srcdir=$(srcdir); export srcdir;                        \
 
293
case "$@" in                                            \
 
294
  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;    \
 
295
    *) am__odir=.;;                                     \
 
296
esac;                                                   \
 
297
test "x$$am__odir" = x"." || test -d "$$am__odir"       \
 
298
  || $(MKDIR_P) "$$am__odir" || exit $$?;               \
 
299
if test -f "./$$f"; then dir=./;                        \
 
300
elif test -f "$$f"; then dir=;                          \
 
301
else dir="$(srcdir)/"; fi;                              \
 
302
tst=$$dir$$f; log='$@';                                 \
 
303
if test -n '$(DISABLE_HARD_ERRORS)'; then               \
 
304
  am__enable_hard_errors=no;                            \
 
305
else                                                    \
 
306
  am__enable_hard_errors=yes;                           \
 
307
fi;                                                     \
 
308
case " $(XFAIL_TESTS) " in                              \
 
309
  *[\ \ ]$$f[\ \        ]* | *[\ \      ]$$dir$$f[\ \   ]*) \
 
310
    am__expect_failure=yes;;                            \
 
311
  *)                                                    \
 
312
    am__expect_failure=no;;                             \
 
313
esac;                                                   \
 
314
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
 
315
# A shell command to get the names of the tests scripts with any registered
 
316
# extension removed (i.e., equivalently, the names of the test logs, with
 
317
# the '.log' extension removed).  The result is saved in the shell variable
 
318
# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
 
319
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
 
320
# since that might cause problem with VPATH rewrites for suffix-less tests.
 
321
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
 
322
am__set_TESTS_bases = \
 
323
  bases='$(TEST_LOGS)'; \
 
324
  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
 
325
  bases=`echo $$bases`
 
326
RECHECK_LOGS = $(TEST_LOGS)
 
327
TEST_SUITE_LOG = test-suite.log
 
328
TEST_EXTENSIONS = @EXEEXT@ .test
 
329
LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
 
330
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
 
331
am__set_b = \
 
332
  case '$@' in \
 
333
    */*) \
 
334
      case '$*' in \
 
335
        */*) b='$*';; \
 
336
          *) b=`echo '$@' | sed 's/\.log$$//'`; \
 
337
       esac;; \
 
338
    *) \
 
339
      b='$*';; \
 
340
  esac
 
341
am__test_logs1 = $(TESTS:=.log)
 
342
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
 
343
TEST_LOGS = $(am__test_logs2:.test.log=.log)
 
344
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
 
345
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
 
346
        $(TEST_LOG_FLAGS)
143
347
DIST_SUBDIRS = $(SUBDIRS)
144
348
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
145
349
distdir = $(PACKAGE)-$(VERSION)
150
354
      && rm -rf "$(distdir)" \
151
355
      || { sleep 5 && rm -rf "$(distdir)"; }; \
152
356
  else :; fi
 
357
am__post_remove_distdir = $(am__remove_distdir)
153
358
am__relativize = \
154
359
  dir0=`pwd`; \
155
360
  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
177
382
  reldir="$$dir2"
178
383
GZIP_ENV = --best
179
384
DIST_ARCHIVES = $(distdir).tar.xz
 
385
DIST_TARGETS = dist-xz
180
386
distuninstallcheck_listfiles = find . -type f -print
181
387
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
182
388
  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
376
582
 
377
583
# -- Testing -------------------------
378
584
TESTS = tests/run_tests
379
 
 
380
 
# -- Common --------------------------
381
585
CLEANFILES = \
382
586
        data/cangjie.xml \
383
587
        data/cangjie.xml.in \
410
614
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
411
615
 
412
616
.SUFFIXES:
 
617
.SUFFIXES: .log .test .test$(EXEEXT) .trs
413
618
am--refresh: Makefile
414
619
        @:
415
620
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
554
759
          $(INSTALL_DATA) $$files "$(DESTDIR)$(ibus_cangjiedir)" || exit $$?; \
555
760
        done || exit $$?; \
556
761
        if test -n "$$dlist"; then \
557
 
          if test -z "$(DESTDIR)"; then \
558
 
            $(am__py_compile) --basedir "$(ibus_cangjiedir)" $$dlist; \
559
 
          else \
560
 
            $(am__py_compile) --destdir "$(DESTDIR)" \
561
 
                              --basedir "$(ibus_cangjiedir)" $$dlist; \
562
 
          fi; \
 
762
          $(am__py_compile) --destdir "$(DESTDIR)" \
 
763
                            --basedir "$(ibus_cangjiedir)" $$dlist; \
563
764
        else :; fi
564
765
 
565
766
uninstall-ibus_cangjiePYTHON:
566
767
        @$(NORMAL_UNINSTALL)
567
768
        @list='$(ibus_cangjie_PYTHON)'; test -n "$(ibus_cangjiedir)" || list=; \
568
 
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
569
 
        test -n "$$files" || exit 0; \
 
769
        py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
 
770
        test -n "$$py_files" || exit 0; \
570
771
        dir='$(DESTDIR)$(ibus_cangjiedir)'; \
571
 
        filesc=`echo "$$files" | sed 's|$$|c|'`; \
572
 
        fileso=`echo "$$files" | sed 's|$$|o|'`; \
 
772
        pyc_files=`echo "$$py_files" | sed 's|$$|c|'`; \
 
773
        pyo_files=`echo "$$py_files" | sed 's|$$|o|'`; \
 
774
        py_files_pep3147=`echo "$$py_files" | $(am__pep3147_tweak)`; \
 
775
        echo "$$py_files_pep3147";\
 
776
        pyc_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|c|'`; \
 
777
        pyo_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|o|'`; \
573
778
        st=0; \
574
 
        for files in "$$files" "$$filesc" "$$fileso"; do \
 
779
        for files in \
 
780
          "$$py_files" \
 
781
          "$$pyc_files" \
 
782
          "$$pyo_files" \
 
783
          "$$pyc_files_pep3147" \
 
784
          "$$pyo_files_pep3147" \
 
785
        ; do \
575
786
          $(am__uninstall_files_from_dir) || st=$$?; \
576
787
        done; \
577
788
        exit $$st
596
807
          $(INSTALL_DATA) $$files "$(DESTDIR)$(ibus_cangjie_setupdir)" || exit $$?; \
597
808
        done || exit $$?; \
598
809
        if test -n "$$dlist"; then \
599
 
          if test -z "$(DESTDIR)"; then \
600
 
            $(am__py_compile) --basedir "$(ibus_cangjie_setupdir)" $$dlist; \
601
 
          else \
602
 
            $(am__py_compile) --destdir "$(DESTDIR)" \
603
 
                              --basedir "$(ibus_cangjie_setupdir)" $$dlist; \
604
 
          fi; \
 
810
          $(am__py_compile) --destdir "$(DESTDIR)" \
 
811
                            --basedir "$(ibus_cangjie_setupdir)" $$dlist; \
605
812
        else :; fi
606
813
 
607
814
uninstall-ibus_cangjie_setupPYTHON:
608
815
        @$(NORMAL_UNINSTALL)
609
816
        @list='$(ibus_cangjie_setup_PYTHON)'; test -n "$(ibus_cangjie_setupdir)" || list=; \
610
 
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
611
 
        test -n "$$files" || exit 0; \
 
817
        py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
 
818
        test -n "$$py_files" || exit 0; \
612
819
        dir='$(DESTDIR)$(ibus_cangjie_setupdir)'; \
613
 
        filesc=`echo "$$files" | sed 's|$$|c|'`; \
614
 
        fileso=`echo "$$files" | sed 's|$$|o|'`; \
 
820
        pyc_files=`echo "$$py_files" | sed 's|$$|c|'`; \
 
821
        pyo_files=`echo "$$py_files" | sed 's|$$|o|'`; \
 
822
        py_files_pep3147=`echo "$$py_files" | $(am__pep3147_tweak)`; \
 
823
        echo "$$py_files_pep3147";\
 
824
        pyc_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|c|'`; \
 
825
        pyo_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|o|'`; \
615
826
        st=0; \
616
 
        for files in "$$files" "$$filesc" "$$fileso"; do \
 
827
        for files in \
 
828
          "$$py_files" \
 
829
          "$$pyc_files" \
 
830
          "$$pyo_files" \
 
831
          "$$pyc_files_pep3147" \
 
832
          "$$pyo_files_pep3147" \
 
833
        ; do \
617
834
          $(am__uninstall_files_from_dir) || st=$$?; \
618
835
        done; \
619
836
        exit $$st
638
855
          $(INSTALL_DATA) $$files "$(DESTDIR)$(ibus_cangjiedir)" || exit $$?; \
639
856
        done || exit $$?; \
640
857
        if test -n "$$dlist"; then \
641
 
          if test -z "$(DESTDIR)"; then \
642
 
            $(am__py_compile) --basedir "$(ibus_cangjiedir)" $$dlist; \
643
 
          else \
644
 
            $(am__py_compile) --destdir "$(DESTDIR)" \
645
 
                              --basedir "$(ibus_cangjiedir)" $$dlist; \
646
 
          fi; \
 
858
          $(am__py_compile) --destdir "$(DESTDIR)" \
 
859
                            --basedir "$(ibus_cangjiedir)" $$dlist; \
647
860
        else :; fi
648
861
 
649
862
uninstall-nodist_ibus_cangjiePYTHON:
650
863
        @$(NORMAL_UNINSTALL)
651
864
        @list='$(nodist_ibus_cangjie_PYTHON)'; test -n "$(ibus_cangjiedir)" || list=; \
652
 
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
653
 
        test -n "$$files" || exit 0; \
 
865
        py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
 
866
        test -n "$$py_files" || exit 0; \
654
867
        dir='$(DESTDIR)$(ibus_cangjiedir)'; \
655
 
        filesc=`echo "$$files" | sed 's|$$|c|'`; \
656
 
        fileso=`echo "$$files" | sed 's|$$|o|'`; \
 
868
        pyc_files=`echo "$$py_files" | sed 's|$$|c|'`; \
 
869
        pyo_files=`echo "$$py_files" | sed 's|$$|o|'`; \
 
870
        py_files_pep3147=`echo "$$py_files" | $(am__pep3147_tweak)`; \
 
871
        echo "$$py_files_pep3147";\
 
872
        pyc_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|c|'`; \
 
873
        pyo_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|o|'`; \
657
874
        st=0; \
658
 
        for files in "$$files" "$$filesc" "$$fileso"; do \
 
875
        for files in \
 
876
          "$$py_files" \
 
877
          "$$pyc_files" \
 
878
          "$$pyo_files" \
 
879
          "$$pyc_files_pep3147" \
 
880
          "$$pyo_files_pep3147" \
 
881
        ; do \
659
882
          $(am__uninstall_files_from_dir) || st=$$?; \
660
883
        done; \
661
884
        exit $$st
724
947
        dir='$(DESTDIR)$(ibus_cangjie_datadir)'; $(am__uninstall_files_from_dir)
725
948
 
726
949
# This directory's subdirectories are mostly independent; you can cd
727
 
# into them and run `make' without going through this Makefile.
728
 
# To change the values of `make' variables: instead of editing Makefiles,
729
 
# (1) if the variable is set in `config.status', edit `config.status'
730
 
#     (which will cause the Makefiles to be regenerated when you run `make');
731
 
# (2) otherwise, pass the desired values on the `make' command line.
732
 
$(RECURSIVE_TARGETS):
 
950
# into them and run 'make' without going through this Makefile.
 
951
# To change the values of 'make' variables: instead of editing Makefiles,
 
952
# (1) if the variable is set in 'config.status', edit 'config.status'
 
953
#     (which will cause the Makefiles to be regenerated when you run 'make');
 
954
# (2) otherwise, pass the desired values on the 'make' command line.
 
955
$(am__recursive_targets):
733
956
        @fail= failcom='exit 1'; \
734
957
        for f in x $$MAKEFLAGS; do \
735
958
          case $$f in \
739
962
        done; \
740
963
        dot_seen=no; \
741
964
        target=`echo $@ | sed s/-recursive//`; \
742
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
965
        case "$@" in \
 
966
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
 
967
          *) list='$(SUBDIRS)' ;; \
 
968
        esac; \
 
969
        for subdir in $$list; do \
743
970
          echo "Making $$target in $$subdir"; \
744
971
          if test "$$subdir" = "."; then \
745
972
            dot_seen=yes; \
754
981
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
755
982
        fi; test -z "$$fail"
756
983
 
757
 
$(RECURSIVE_CLEAN_TARGETS):
758
 
        @fail= failcom='exit 1'; \
759
 
        for f in x $$MAKEFLAGS; do \
760
 
          case $$f in \
761
 
            *=* | --[!k]*);; \
762
 
            *k*) failcom='fail=yes';; \
763
 
          esac; \
764
 
        done; \
765
 
        dot_seen=no; \
766
 
        case "$@" in \
767
 
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
768
 
          *) list='$(SUBDIRS)' ;; \
769
 
        esac; \
770
 
        rev=''; for subdir in $$list; do \
771
 
          if test "$$subdir" = "."; then :; else \
772
 
            rev="$$subdir $$rev"; \
773
 
          fi; \
774
 
        done; \
775
 
        rev="$$rev ."; \
776
 
        target=`echo $@ | sed s/-recursive//`; \
777
 
        for subdir in $$rev; do \
778
 
          echo "Making $$target in $$subdir"; \
779
 
          if test "$$subdir" = "."; then \
780
 
            local_target="$$target-am"; \
781
 
          else \
782
 
            local_target="$$target"; \
783
 
          fi; \
784
 
          ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
785
 
          || eval $$failcom; \
786
 
        done && test -z "$$fail"
787
 
tags-recursive:
788
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
789
 
          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
790
 
        done
791
 
ctags-recursive:
792
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
793
 
          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
794
 
        done
795
 
 
796
 
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
797
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
798
 
        unique=`for i in $$list; do \
799
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
800
 
          done | \
801
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
802
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
803
 
        mkid -fID $$unique
804
 
tags: TAGS
805
 
 
806
 
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
807
 
                $(TAGS_FILES) $(LISP)
 
984
ID: $(am__tagged_files)
 
985
        $(am__define_uniq_tagged_files); mkid -fID $$unique
 
986
tags: tags-recursive
 
987
TAGS: tags
 
988
 
 
989
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
808
990
        set x; \
809
991
        here=`pwd`; \
810
992
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
820
1002
              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
821
1003
          fi; \
822
1004
        done; \
823
 
        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
824
 
        unique=`for i in $$list; do \
825
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
826
 
          done | \
827
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
828
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
1005
        $(am__define_uniq_tagged_files); \
829
1006
        shift; \
830
1007
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
831
1008
          test -n "$$unique" || unique=$$empty_fix; \
837
1014
              $$unique; \
838
1015
          fi; \
839
1016
        fi
840
 
ctags: CTAGS
841
 
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
842
 
                $(TAGS_FILES) $(LISP)
843
 
        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
844
 
        unique=`for i in $$list; do \
845
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
846
 
          done | \
847
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
848
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
1017
ctags: ctags-recursive
 
1018
 
 
1019
CTAGS: ctags
 
1020
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
 
1021
        $(am__define_uniq_tagged_files); \
849
1022
        test -z "$(CTAGS_ARGS)$$unique" \
850
1023
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
851
1024
             $$unique
854
1027
        here=`$(am__cd) $(top_builddir) && pwd` \
855
1028
          && $(am__cd) $(top_srcdir) \
856
1029
          && gtags -i $(GTAGS_ARGS) "$$here"
 
1030
cscope: cscope.files
 
1031
        test ! -s cscope.files \
 
1032
          || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
 
1033
clean-cscope:
 
1034
        -rm -f cscope.files
 
1035
cscope.files: clean-cscope cscopelist
 
1036
cscopelist: cscopelist-recursive
 
1037
 
 
1038
cscopelist-am: $(am__tagged_files)
 
1039
        list='$(am__tagged_files)'; \
 
1040
        case "$(srcdir)" in \
 
1041
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
 
1042
          *) sdir=$(subdir)/$(srcdir) ;; \
 
1043
        esac; \
 
1044
        for i in $$list; do \
 
1045
          if test -f "$$i"; then \
 
1046
            echo "$(subdir)/$$i"; \
 
1047
          else \
 
1048
            echo "$$sdir/$$i"; \
 
1049
          fi; \
 
1050
        done >> $(top_builddir)/cscope.files
857
1051
 
858
1052
distclean-tags:
859
1053
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
860
 
 
861
 
check-TESTS: $(TESTS)
862
 
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
863
 
        srcdir=$(srcdir); export srcdir; \
864
 
        list=' $(TESTS) '; \
865
 
        $(am__tty_colors); \
866
 
        if test -n "$$list"; then \
867
 
          for tst in $$list; do \
868
 
            if test -f ./$$tst; then dir=./; \
869
 
            elif test -f $$tst; then dir=; \
870
 
            else dir="$(srcdir)/"; fi; \
871
 
            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
872
 
              all=`expr $$all + 1`; \
873
 
              case " $(XFAIL_TESTS) " in \
874
 
              *[\ \     ]$$tst[\ \      ]*) \
875
 
                xpass=`expr $$xpass + 1`; \
876
 
                failed=`expr $$failed + 1`; \
877
 
                col=$$red; res=XPASS; \
878
 
              ;; \
879
 
              *) \
880
 
                col=$$grn; res=PASS; \
881
 
              ;; \
882
 
              esac; \
883
 
            elif test $$? -ne 77; then \
884
 
              all=`expr $$all + 1`; \
885
 
              case " $(XFAIL_TESTS) " in \
886
 
              *[\ \     ]$$tst[\ \      ]*) \
887
 
                xfail=`expr $$xfail + 1`; \
888
 
                col=$$lgn; res=XFAIL; \
889
 
              ;; \
890
 
              *) \
891
 
                failed=`expr $$failed + 1`; \
892
 
                col=$$red; res=FAIL; \
893
 
              ;; \
894
 
              esac; \
895
 
            else \
896
 
              skip=`expr $$skip + 1`; \
897
 
              col=$$blu; res=SKIP; \
898
 
            fi; \
899
 
            echo "$${col}$$res$${std}: $$tst"; \
 
1054
        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
 
1055
 
 
1056
# Recover from deleted '.trs' file; this should ensure that
 
1057
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
 
1058
# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
 
1059
# to avoid problems with "make -n".
 
1060
.log.trs:
 
1061
        rm -f $< $@
 
1062
        $(MAKE) $(AM_MAKEFLAGS) $<
 
1063
 
 
1064
# Leading 'am--fnord' is there to ensure the list of targets does not
 
1065
# exand to empty, as could happen e.g. with make check TESTS=''.
 
1066
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
 
1067
am--force-recheck:
 
1068
        @:
 
1069
 
 
1070
$(TEST_SUITE_LOG): $(TEST_LOGS)
 
1071
        @$(am__set_TESTS_bases); \
 
1072
        am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
 
1073
        redo_bases=`for i in $$bases; do \
 
1074
                      am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
 
1075
                    done`; \
 
1076
        if test -n "$$redo_bases"; then \
 
1077
          redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
 
1078
          redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
 
1079
          if $(am__make_dryrun); then :; else \
 
1080
            rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
 
1081
          fi; \
 
1082
        fi; \
 
1083
        if test -n "$$am__remaking_logs"; then \
 
1084
          echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
 
1085
               "recursion detected" >&2; \
 
1086
        else \
 
1087
          am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
 
1088
        fi; \
 
1089
        if $(am__make_dryrun); then :; else \
 
1090
          st=0;  \
 
1091
          errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
 
1092
          for i in $$redo_bases; do \
 
1093
            test -f $$i.trs && test -r $$i.trs \
 
1094
              || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
 
1095
            test -f $$i.log && test -r $$i.log \
 
1096
              || { echo "$$errmsg $$i.log" >&2; st=1; }; \
900
1097
          done; \
901
 
          if test "$$all" -eq 1; then \
902
 
            tests="test"; \
903
 
            All=""; \
904
 
          else \
905
 
            tests="tests"; \
906
 
            All="All "; \
907
 
          fi; \
908
 
          if test "$$failed" -eq 0; then \
909
 
            if test "$$xfail" -eq 0; then \
910
 
              banner="$$All$$all $$tests passed"; \
911
 
            else \
912
 
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
913
 
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
914
 
            fi; \
915
 
          else \
916
 
            if test "$$xpass" -eq 0; then \
917
 
              banner="$$failed of $$all $$tests failed"; \
918
 
            else \
919
 
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
920
 
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
921
 
            fi; \
922
 
          fi; \
923
 
          dashes="$$banner"; \
924
 
          skipped=""; \
925
 
          if test "$$skip" -ne 0; then \
926
 
            if test "$$skip" -eq 1; then \
927
 
              skipped="($$skip test was not run)"; \
928
 
            else \
929
 
              skipped="($$skip tests were not run)"; \
930
 
            fi; \
931
 
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
932
 
              dashes="$$skipped"; \
933
 
          fi; \
934
 
          report=""; \
935
 
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
936
 
            report="Please report to $(PACKAGE_BUGREPORT)"; \
937
 
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
938
 
              dashes="$$report"; \
939
 
          fi; \
940
 
          dashes=`echo "$$dashes" | sed s/./=/g`; \
941
 
          if test "$$failed" -eq 0; then \
942
 
            col="$$grn"; \
943
 
          else \
944
 
            col="$$red"; \
945
 
          fi; \
946
 
          echo "$${col}$$dashes$${std}"; \
947
 
          echo "$${col}$$banner$${std}"; \
948
 
          test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
949
 
          test -z "$$report" || echo "$${col}$$report$${std}"; \
950
 
          echo "$${col}$$dashes$${std}"; \
951
 
          test "$$failed" -eq 0; \
952
 
        else :; fi
 
1098
          test $$st -eq 0 || exit 1; \
 
1099
        fi
 
1100
        @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
 
1101
        ws='[   ]'; \
 
1102
        results=`for b in $$bases; do echo $$b.trs; done`; \
 
1103
        test -n "$$results" || results=/dev/null; \
 
1104
        all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
 
1105
        pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
 
1106
        fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
 
1107
        skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
 
1108
        xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
 
1109
        xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
 
1110
        error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
 
1111
        if test `expr $$fail + $$xpass + $$error` -eq 0; then \
 
1112
          success=true; \
 
1113
        else \
 
1114
          success=false; \
 
1115
        fi; \
 
1116
        br='==================='; br=$$br$$br$$br$$br; \
 
1117
        result_count () \
 
1118
        { \
 
1119
            if test x"$$1" = x"--maybe-color"; then \
 
1120
              maybe_colorize=yes; \
 
1121
            elif test x"$$1" = x"--no-color"; then \
 
1122
              maybe_colorize=no; \
 
1123
            else \
 
1124
              echo "$@: invalid 'result_count' usage" >&2; exit 4; \
 
1125
            fi; \
 
1126
            shift; \
 
1127
            desc=$$1 count=$$2; \
 
1128
            if test $$maybe_colorize = yes && test $$count -gt 0; then \
 
1129
              color_start=$$3 color_end=$$std; \
 
1130
            else \
 
1131
              color_start= color_end=; \
 
1132
            fi; \
 
1133
            echo "$${color_start}# $$desc $$count$${color_end}"; \
 
1134
        }; \
 
1135
        create_testsuite_report () \
 
1136
        { \
 
1137
          result_count $$1 "TOTAL:" $$all   "$$brg"; \
 
1138
          result_count $$1 "PASS: " $$pass  "$$grn"; \
 
1139
          result_count $$1 "SKIP: " $$skip  "$$blu"; \
 
1140
          result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
 
1141
          result_count $$1 "FAIL: " $$fail  "$$red"; \
 
1142
          result_count $$1 "XPASS:" $$xpass "$$red"; \
 
1143
          result_count $$1 "ERROR:" $$error "$$mgn"; \
 
1144
        }; \
 
1145
        {                                                               \
 
1146
          echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |       \
 
1147
            $(am__rst_title);                                           \
 
1148
          create_testsuite_report --no-color;                           \
 
1149
          echo;                                                         \
 
1150
          echo ".. contents:: :depth: 2";                               \
 
1151
          echo;                                                         \
 
1152
          for b in $$bases; do echo $$b; done                           \
 
1153
            | $(am__create_global_log);                                 \
 
1154
        } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
 
1155
        mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
 
1156
        if $$success; then                                              \
 
1157
          col="$$grn";                                                  \
 
1158
         else                                                           \
 
1159
          col="$$red";                                                  \
 
1160
          test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
 
1161
        fi;                                                             \
 
1162
        echo "$${col}$$br$${std}";                                      \
 
1163
        echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";   \
 
1164
        echo "$${col}$$br$${std}";                                      \
 
1165
        create_testsuite_report --maybe-color;                          \
 
1166
        echo "$$col$$br$$std";                                          \
 
1167
        if $$success; then :; else                                      \
 
1168
          echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";         \
 
1169
          if test -n "$(PACKAGE_BUGREPORT)"; then                       \
 
1170
            echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
 
1171
          fi;                                                           \
 
1172
          echo "$$col$$br$$std";                                        \
 
1173
        fi;                                                             \
 
1174
        $$success || exit 1
 
1175
 
 
1176
check-TESTS:
 
1177
        @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
 
1178
        @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
 
1179
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
1180
        @set +e; $(am__set_TESTS_bases); \
 
1181
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
1182
        trs_list=`for i in $$bases; do echo $$i.trs; done`; \
 
1183
        log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
 
1184
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
 
1185
        exit $$?;
 
1186
recheck: all 
 
1187
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
1188
        @set +e; $(am__set_TESTS_bases); \
 
1189
        bases=`for i in $$bases; do echo $$i; done \
 
1190
                 | $(am__list_recheck_tests)` || exit 1; \
 
1191
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
1192
        log_list=`echo $$log_list`; \
 
1193
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
 
1194
                am__force_recheck=am--force-recheck \
 
1195
                TEST_LOGS="$$log_list"; \
 
1196
        exit $$?
 
1197
tests/run_tests.log: tests/run_tests
 
1198
        @p='tests/run_tests'; \
 
1199
        b='tests/run_tests'; \
 
1200
        $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
 
1201
        --log-file $$b.log --trs-file $$b.trs \
 
1202
        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
 
1203
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
1204
.test.log:
 
1205
        @p='$<'; \
 
1206
        $(am__set_b); \
 
1207
        $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
1208
        --log-file $$b.log --trs-file $$b.trs \
 
1209
        $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
1210
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
1211
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
 
1212
@am__EXEEXT_TRUE@       @p='$<'; \
 
1213
@am__EXEEXT_TRUE@       $(am__set_b); \
 
1214
@am__EXEEXT_TRUE@       $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
1215
@am__EXEEXT_TRUE@       --log-file $$b.log --trs-file $$b.trs \
 
1216
@am__EXEEXT_TRUE@       $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
1217
@am__EXEEXT_TRUE@       "$$tst" $(AM_TESTS_FD_REDIRECT)
953
1218
 
954
1219
distdir: $(DISTFILES)
955
1220
        $(am__remove_distdir)
1017
1282
        || chmod -R a+r "$(distdir)"
1018
1283
dist-gzip: distdir
1019
1284
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1020
 
        $(am__remove_distdir)
 
1285
        $(am__post_remove_distdir)
1021
1286
 
1022
1287
dist-bzip2: distdir
1023
1288
        tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1024
 
        $(am__remove_distdir)
 
1289
        $(am__post_remove_distdir)
1025
1290
 
1026
1291
dist-lzip: distdir
1027
1292
        tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1028
 
        $(am__remove_distdir)
1029
 
 
1030
 
dist-lzma: distdir
1031
 
        tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
1032
 
        $(am__remove_distdir)
 
1293
        $(am__post_remove_distdir)
1033
1294
dist-xz: distdir
1034
1295
        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1035
 
        $(am__remove_distdir)
 
1296
        $(am__post_remove_distdir)
1036
1297
 
1037
1298
dist-tarZ: distdir
1038
1299
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1039
 
        $(am__remove_distdir)
 
1300
        $(am__post_remove_distdir)
1040
1301
 
1041
1302
dist-shar: distdir
1042
1303
        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1043
 
        $(am__remove_distdir)
 
1304
        $(am__post_remove_distdir)
1044
1305
 
1045
1306
dist-zip: distdir
1046
1307
        -rm -f $(distdir).zip
1047
1308
        zip -rq $(distdir).zip $(distdir)
1048
 
        $(am__remove_distdir)
 
1309
        $(am__post_remove_distdir)
1049
1310
 
1050
 
dist dist-all: distdir
1051
 
        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1052
 
        $(am__remove_distdir)
 
1311
dist dist-all:
 
1312
        $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
 
1313
        $(am__post_remove_distdir)
1053
1314
 
1054
1315
# This target untars the dist file and tries a VPATH configuration.  Then
1055
1316
# it guarantees that the distribution is self-contained by making another
1060
1321
          GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1061
1322
        *.tar.bz2*) \
1062
1323
          bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1063
 
        *.tar.lzma*) \
1064
 
          lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
1065
1324
        *.tar.lz*) \
1066
1325
          lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1067
1326
        *.tar.xz*) \
1073
1332
        *.zip*) \
1074
1333
          unzip $(distdir).zip ;;\
1075
1334
        esac
1076
 
        chmod -R a-w $(distdir); chmod u+w $(distdir)
1077
 
        mkdir $(distdir)/_build
1078
 
        mkdir $(distdir)/_inst
 
1335
        chmod -R a-w $(distdir)
 
1336
        chmod u+w $(distdir)
 
1337
        mkdir $(distdir)/_build $(distdir)/_inst
1079
1338
        chmod a-w $(distdir)
1080
1339
        test -d $(distdir)/_build || exit 0; \
1081
1340
        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1107
1366
          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1108
1367
          && cd "$$am__cwd" \
1109
1368
          || exit 1
1110
 
        $(am__remove_distdir)
 
1369
        $(am__post_remove_distdir)
1111
1370
        @(echo "$(distdir) archives ready for distribution: "; \
1112
1371
          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1113
1372
          sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1138
1397
               $(distcleancheck_listfiles) ; \
1139
1398
               exit 1; } >&2
1140
1399
check-am: all-am
1141
 
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
 
1400
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
1142
1401
check: check-recursive
1143
1402
all-am: Makefile $(SCRIPTS) $(DATA) config.h
1144
1403
installdirs: installdirs-recursive
1166
1425
            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1167
1426
        fi
1168
1427
mostlyclean-generic:
 
1428
        -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
 
1429
        -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
 
1430
        -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1169
1431
 
1170
1432
clean-generic:
1171
1433
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1254
1516
        uninstall-nodist_ibus_cangjiePYTHON \
1255
1517
        uninstall-pkglibexecSCRIPTS
1256
1518
 
1257
 
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
1258
 
        ctags-recursive install-am install-strip tags-recursive
 
1519
.MAKE: $(am__recursive_targets) all check-am install-am install-strip
1259
1520
 
1260
 
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1261
 
        all all-am am--refresh check check-TESTS check-am clean \
1262
 
        clean-generic ctags ctags-recursive dist dist-all dist-bzip2 \
1263
 
        dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
1264
 
        dist-zip distcheck distclean distclean-generic distclean-hdr \
1265
 
        distclean-tags distcleancheck distdir distuninstallcheck dvi \
1266
 
        dvi-am html html-am info info-am install install-am \
1267
 
        install-binSCRIPTS install-componentDATA install-data \
1268
 
        install-data-am install-desktopDATA install-dvi install-dvi-am \
1269
 
        install-exec install-exec-am install-html install-html-am \
 
1521
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
 
1522
        am--refresh check check-TESTS check-am check-local clean \
 
1523
        clean-cscope clean-generic cscope cscopelist-am ctags ctags-am \
 
1524
        dist dist-all dist-bzip2 dist-gzip dist-lzip dist-shar \
 
1525
        dist-tarZ dist-xz dist-zip distcheck distclean \
 
1526
        distclean-generic distclean-hdr distclean-tags distcleancheck \
 
1527
        distdir distuninstallcheck dvi dvi-am html html-am info \
 
1528
        info-am install install-am install-binSCRIPTS \
 
1529
        install-componentDATA install-data install-data-am \
 
1530
        install-desktopDATA install-dvi install-dvi-am install-exec \
 
1531
        install-exec-am install-html install-html-am \
1270
1532
        install-ibus_cangjiePYTHON install-ibus_cangjie_dataDATA \
1271
1533
        install-ibus_cangjie_setupPYTHON install-info install-info-am \
1272
1534
        install-man install-nodist_ibus_cangjiePYTHON install-pdf \
1274
1536
        install-ps-am install-strip installcheck installcheck-am \
1275
1537
        installdirs installdirs-am maintainer-clean \
1276
1538
        maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
1277
 
        pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
 
1539
        pdf-am ps ps-am recheck tags tags-am uninstall uninstall-am \
1278
1540
        uninstall-binSCRIPTS uninstall-componentDATA \
1279
1541
        uninstall-desktopDATA uninstall-ibus_cangjiePYTHON \
1280
1542
        uninstall-ibus_cangjie_dataDATA \
1295
1557
%.xml: %.xml.in
1296
1558
        $(AM_V_GEN) \
1297
1559
        ( \
 
1560
                bindir=${bindir}; \
1298
1561
                pkglibexecdir=${pkglibexecdir}; \
1299
1562
                s=`cat $<`; \
1300
1563
                eval "echo \"$${s}\""; \
1314
1577
            -e 's&@SRCDIR@&$(srcdir)&g' $< > $@
1315
1578
        chmod +x $@
1316
1579
 
1317
 
# Custom targets
1318
 
superclean:
1319
 
        rm -fr ABOUT-NLS aclocal.m4 autom4te.cache config.* configure \
1320
 
               install-sh ltmain.sh m4 Makefile Makefile.in missing   \
1321
 
               py-compile stamp-h1
1322
 
 
1323
 
        rm -fr po/Makefile po/Makefile.in po/Makefile.in.in \
1324
 
               po/Makevars.template po/POTFILES po/Rules-quot po/*.sed \
1325
 
               po/*.header po/*.sin po/stamp-it po/.intltool-merge-cache
 
1580
check-local:
 
1581
        cat tests/run_tests.log
 
1582
 
 
1583
# -- Common --------------------------
 
1584
AUTHORS:
 
1585
        @if test -d "$(srcdir)/.git"; then \
 
1586
            echo Creating $@ && \
 
1587
            ( cd "$(top_srcdir)" && \
 
1588
              echo -e '# Generated by Makefile. Do not edit.\n#'; \
 
1589
              echo -e '# IBus Cangjie was written by these people:\n'; \
 
1590
              git log --no-merges --pretty=format:"%an <%ae>" \
 
1591
                  | sort | uniq ) > $@.tmp && mv -f $@.tmp $@ \
 
1592
            || ( rm -f $@.tmp ; echo Failed to generate $@ >&2 ); \
 
1593
        fi
 
1594
 
 
1595
.PHONY: AUTHORS
1326
1596
 
1327
1597
# Tell versions [3.59,3.63) of GNU make to not export all variables.
1328
1598
# Otherwise a system limit (for SysV at least) may be exceeded.