summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-03-18 20:56:27 +0200
committerEli Zaretskii <eliz@gnu.org>2013-03-18 20:56:27 +0200
commit2b9c0f44e4567218687868f81c0fb90769002079 (patch)
tree71101655b477d5b15495493f600a0fa6dc43fd7e
parenta22b4ca1402f60eca2d86f92e44bde4fb03bbd89 (diff)
MS-Windows followup to automation of ja-dic.el in 2013-03-18T04:30:20Z!eggert@cs.ucla.edu.
leim/makefile.w32-in ($(srcdir)/ja-dic/ja-dic.el): New target. Fixes: debbugs:13984
-rw-r--r--leim/ChangeLog4
-rw-r--r--leim/makefile.w32-in7
2 files changed, 11 insertions, 0 deletions
diff --git a/leim/ChangeLog b/leim/ChangeLog
index 8ddecb5316..e22eb84cef 100644
--- a/leim/ChangeLog
+++ b/leim/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-18 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in ($(srcdir)/ja-dic/ja-dic.el): New target.
+
2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
Automate the build of ja-dic.el (Bug#13984).
diff --git a/leim/makefile.w32-in b/leim/makefile.w32-in
index 7a01529665..0956e8cde5 100644
--- a/leim/makefile.w32-in
+++ b/leim/makefile.w32-in
@@ -189,6 +189,13 @@ $(MISC_DIC):
$(ARGQUOTE)$(buildlisppath)/international/quail$(ARGQUOTE) \
-f batch-byte-compile $(MISC_DIC:.elc=.el)
+# Rule to generate ja-dic/ja-dic.el from SKK-DIC/SKK-JISYO.L.
+$(srcdir)/ja-dic/ja-dic.el: $(srcdir)/SKK-DIC/SKK-JISYO.L
+ - mkdir ja-dic
+ $(RUN_EMACS) -l \
+ $(ARGQUOTE)$(buildlisppath)/international/ja-dic-cnv$(ARGQUOTE) \
+ -f batch-skkdic-convert -dir ja-dic $(srcdir)/SKK-DIC/SKK-JISYO.L
+
#
# WARNING: Do NOT split the parts inside $(ARGQUOTE)s into multiple lines as
# this can break with GNU Make 3.81 and later if sh.exe is used.