Enclose the argument of "-l" in quotes.

makefile.w32-in ($(TIT), $(MISC_DIC), leim-list.el): Enclose the
 argument of "-l" in $(ARGQUOTE), in case it includes blanks or
 other special characters.
This commit is contained in:
Eli Zaretskii 2010-03-27 15:01:22 +03:00
parent 2201e7e2be
commit 31f191b3a2
2 changed files with 16 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2010-03-27 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in ($(TIT), $(MISC_DIC), leim-list.el): Enclose the
argument of "-l" in $(ARGQUOTE), in case it includes blanks or
other special characters.
2010-03-18 Glenn Morris <rgm@gnu.org>
* Makefile.in (maintainer-clean): Use bootstrap-clean.

View file

@ -170,17 +170,21 @@ $(SUBDIRS):
# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
# this can break with GNU Make 3.81 and later if sh.exe is used.
$(TIT):
$(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
$(RUN_EMACS) -l \
$(ARGQUOTE)$(buildlisppath)/international/titdic-cnv$(ARGQUOTE) \
--eval $(ARGQUOTE)(batch-titdic-convert t)$(ARGQUOTE) \
-dir quail $(srcdir)/CXTERM-DIC
$(RUN_EMACS) -l $(buildlisppath)/international/quail \
$(RUN_EMACS) -l \
$(ARGQUOTE)$(buildlisppath)/international/quail$(ARGQUOTE) \
-f batch-byte-compile $(TIT:.elc=.el)
# Rule to generate quail/*.el from MISC_DIC/*.tit.
$(MISC_DIC):
$(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
$(RUN_EMACS) -l \
$(ARGQUOTE)$(buildlisppath)/international/titdic-cnv$(ARGQUOTE) \
-f batch-miscdic-convert -dir quail $(srcdir)/MISC-DIC
$(RUN_EMACS) -l $(buildlisppath)/international/quail \
$(RUN_EMACS) -l \
$(ARGQUOTE)$(buildlisppath)/international/quail$(ARGQUOTE) \
-f batch-byte-compile $(MISC_DIC:.elc=.el)
#
@ -188,7 +192,8 @@ $(MISC_DIC):
# this can break with GNU Make 3.81 and later if sh.exe is used.
leim-list.el: $(SUBDIRS) $(WORLD) $(srcdir)/leim-ext.el
- $(DEL) leim-list.el
$(RUN_EMACS) -l $(buildlisppath)/international/quail \
$(RUN_EMACS) -l \
$(ARGQUOTE)$(buildlisppath)/international/quail$(ARGQUOTE) \
--eval $(ARGQUOTE)(update-leim-list-file $(DQUOTE).$(DQUOTE))$(ARGQUOTE)
$(RUN_EMACS) --eval $(ARGQUOTE)(w32-append-code-lines $(DQUOTE)$@$(DQUOTE) $(DQUOTE)$(srcdir)/leim-ext.el$(DQUOTE))$(ARGQUOTE)