]> code.delx.au - gnu-emacs/blobdiff - leim/Makefile.in
* nt/configure.bat: Disable it.
[gnu-emacs] / leim / Makefile.in
index 56f28b8e891403f811198ea7cd9b1d302906c8ef..b04eb6c2e77e45c14c7036a6f918e8aeccfd65b2 100644 (file)
@@ -1,4 +1,4 @@
-# Makefile for leim subdirectory in GNU Emacs.
+### @configure_input@
 
 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
@@ -140,10 +140,16 @@ leim-list.el: ${TIT_MISC} ${srcdir}/leim-ext.el
            --eval "(update-leim-list-file \".\")" ; \
        else \
          ${RUN_EMACS} -l ${buildlisppath}/international/quail \
-           --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \
+           --eval "(update-leim-list-file \".\" (unmsys--file-name \"${srcdir}\"))" ; \
        fi
        sed -n '/^[^;]/ p' < ${srcdir}/leim-ext.el >> $@
 
+$(srcdir)/ja-dic/ja-dic.el: $(srcdir)/SKK-DIC/SKK-JISYO.L
+       @$(MKDIR_P) $(srcdir)/ja-dic
+       $(RUN_EMACS) -batch -l $(buildlisppath)/international/ja-dic-cnv \
+         -f batch-skkdic-convert -dir "$(srcdir)/ja-dic" \
+         "$(srcdir)/SKK-DIC/SKK-JISYO.L"
+
 ## Following adapted from lisp/Makefile.in.
 setwins=wins="${srcdir}/ja-dic quail"; \
        [ `cd ${srcdir} && /bin/pwd` != `/bin/pwd` ] && \
@@ -156,7 +162,7 @@ compile-targets: $(TARGETS)
 # Compile all the Elisp files that need it.  Beware: it approximates
 # `no-byte-compile', so watch out for false-positives!
 .PHONY: compile-main
-compile-main: ${TIT_MISC}
+compile-main: ${TIT_MISC} $(srcdir)/ja-dic/ja-dic.el
        @($(setwins); \
        els=`echo "$$wins " | sed -e 's| |/*.el |g'`; \
        for el in $$els; do \
@@ -193,4 +199,4 @@ extraclean: maintainer-clean
 
 check-declare:
        $(RUN_EMACS) -l $(buildlisppath)/emacs-lisp/check-declare \
-         --eval '(check-declare-directory "$(srcdir)")'
+         --eval '(check-declare-directory (unmsys--file-name "$(srcdir)"))'