summaryrefslogtreecommitdiff
path: root/lisp/makefile.w32-in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-12-17 17:27:35 +0000
committerEli Zaretskii <eliz@gnu.org>2005-12-17 17:27:35 +0000
commit15015a306615dc958b543bf71114b4d9273db0ed (patch)
tree267b5fe19ae82740aa8f5cc7ba403046e7d9539c /lisp/makefile.w32-in
parent0fa8393a1c29922dc7af70dd52cc2bd031f8a288 (diff)
downloademacs-15015a306615dc958b543bf71114b4d9273db0ed.tar.gz
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
should not be split between two lines, as that will break with GNU Make >3.80, when sh.exe is used and arg quoting is with '..'. (autoloads): Don't break the quoted --eval expression between several lines.
Diffstat (limited to 'lisp/makefile.w32-in')
-rw-r--r--lisp/makefile.w32-in10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index 31e31442378..35b9f1cbd28 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -97,6 +97,8 @@ doit:
$(lisp)/cus-load.el:
touch $@
+# 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.
custom-deps: $(lisp)/cus-load.el doit
@echo Directories: $(WINS)
-$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS)
@@ -150,13 +152,13 @@ loaddefs.el-CMD:
# including a drive letter and any leading directories, so the generated
# loaddefs.el will mention file names that on other machine reference
# possibly non-existent directories.
+#
+# 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.
autoloads: $(lisp)/loaddefs.el doit
@echo Directories: . $(WINS)
$(emacs) -l autoload \
- --eval $(ARGQUOTE)(setq find-file-hook nil \
- find-file-suppress-same-file-warnings t \
- generated-autoload-file \
- $(DQUOTE)$(lisp)/loaddefs.el$(DQUOTE))$(ARGQUOTE) \
+ --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t generated-autoload-file $(DQUOTE)$(lisp)/loaddefs.el$(DQUOTE))$(ARGQUOTE) \
-f batch-update-autoloads . $(WINS)
$(lisp)/subdirs.el: