changeset 112155:c55486404fcd

In Makefiles, -batch implies -q. * leim/makefile.w32-in (RUN_EMACS): * leim/Makefile.in (RUN-EMACS): -batch implies --no-init-file. * lisp/makefile.w32-in (EMACSOPT): -batch implies --no-init-file. * src/makefile.w32-in ($(EMACS)): * src/Makefile.in (emacs$(EXEEXT)): -batch implies -q.
author Glenn Morris <rgm@gnu.org>
date Fri, 07 Jan 2011 18:41:14 -0800
parents 3e52c52bbc1a
children 707234851c48
files leim/ChangeLog leim/Makefile.in leim/makefile.w32-in lisp/ChangeLog lisp/makefile.w32-in src/ChangeLog src/Makefile.in src/makefile.w32-in
diffstat 8 files changed, 24 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/leim/ChangeLog	Fri Jan 07 18:34:26 2011 -0800
+++ b/leim/ChangeLog	Fri Jan 07 18:41:14 2011 -0800
@@ -1,3 +1,8 @@
+2011-01-08  Glenn Morris  <rgm@gnu.org>
+
+	* makefile.w32-in (RUN_EMACS):
+	* Makefile.in (RUN-EMACS): -batch implies --no-init-file.
+
 2010-08-28  Kenichi Handa  <handa@m17n.org>
 
 	* quail/japanese.el (quail-japanese-update-translation): Fix
--- a/leim/Makefile.in	Fri Jan 07 18:34:26 2011 -0800
+++ b/leim/Makefile.in	Fri Jan 07 18:41:14 2011 -0800
@@ -1,9 +1,9 @@
 # Makefile for leim subdirectory in GNU Emacs.
 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-#   2006, 2007, 2008, 2009, 2010
+#   2006, 2007, 2008, 2009, 2010, 2011
 #   Free Software Foundation, Inc.
 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-#   2006, 2007, 2008, 2009, 2010
+#   2006, 2007, 2008, 2009, 2010, 2011
 #   National Institute of Advanced Industrial Science and Technology (AIST)
 #   Registration Number H14PRO021
 
@@ -48,7 +48,7 @@
 
 # How to run Emacs.
 RUN-EMACS = EMACSLOADPATH=$(buildlisppath) LC_ALL=C \
-	${BUILT-EMACS} -batch --no-init-file --no-site-file
+	${BUILT-EMACS} -batch --no-site-file
 
 # Subdirectories to be made if ${srcdir} is different from the current
 # directory.
--- a/leim/makefile.w32-in	Fri Jan 07 18:34:26 2011 -0800
+++ b/leim/makefile.w32-in	Fri Jan 07 18:41:14 2011 -0800
@@ -1,5 +1,5 @@
 # -*- Makefile -*- for leim subdirectory in GNU Emacs on the Microsoft W32 API.
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 #   Free Software Foundation, Inc.
 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 #   2006, 2007
@@ -37,7 +37,7 @@
 buildlisppath=$(CURDIR)/$(dot)$(dot)/lisp
 
 # How to run Emacs.
-RUN_EMACS = "$(BUILT_EMACS)" -batch --no-init-file --no-site-file
+RUN_EMACS = "$(BUILT_EMACS)" -batch --no-site-file
 
 # Set EMACSLOADPATH correctly (already defined in environment).
 EMACSLOADPATH=$(buildlisppath)
--- a/lisp/ChangeLog	Fri Jan 07 18:34:26 2011 -0800
+++ b/lisp/ChangeLog	Fri Jan 07 18:41:14 2011 -0800
@@ -1,3 +1,7 @@
+2011-01-08  Glenn Morris  <rgm@gnu.org>
+
+	* makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
+
 2011-01-07  Sam Steingold  <sds@gnu.org>
 
 	* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
--- a/lisp/makefile.w32-in	Fri Jan 07 18:34:26 2011 -0800
+++ b/lisp/makefile.w32-in	Fri Jan 07 18:41:14 2011 -0800
@@ -1,6 +1,6 @@
 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-#   2009, 2010  Free Software Foundation, Inc.
+#   2009, 2010, 2011  Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
 
@@ -34,7 +34,7 @@
 
 # Command line flags for Emacs.
 
-EMACSOPT = -batch --no-init-file --no-site-file
+EMACSOPT = -batch --no-site-file
 
 # Extra flags to pass to the byte compiler
 BYTE_COMPILE_EXTRA_FLAGS =
--- a/src/ChangeLog	Fri Jan 07 18:34:26 2011 -0800
+++ b/src/ChangeLog	Fri Jan 07 18:41:14 2011 -0800
@@ -1,5 +1,8 @@
 2011-01-08  Glenn Morris  <rgm@gnu.org>
 
+	* makefile.w32-in ($(EMACS)):
+	* Makefile.in (emacs$(EXEEXT)): -batch implies -q.
+
 	* xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
 	* emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.
 
--- a/src/Makefile.in	Fri Jan 07 18:34:26 2011 -0800
+++ b/src/Makefile.in	Fri Jan 07 18:41:14 2011 -0800
@@ -1,7 +1,7 @@
 # src/Makefile for GNU Emacs.
 
 # Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002,
-#   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+#   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 #   Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
@@ -612,12 +612,12 @@
 emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp)
 	if test "$(CANNOT_DUMP)" = "yes"; then \
 	  ln -f temacs$(EXEEXT) emacs$(EXEEXT); \
-	  EMACSLOADPATH=$(lispsource) ./emacs -q -batch \
+	  EMACSLOADPATH=$(lispsource) ./emacs -batch \
 	    -f list-load-path-shadows || true; \
 	else \
 	  LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump || exit 1; \
 	  ln -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \
-	  ./emacs -q -batch -f list-load-path-shadows || true; \
+	  ./emacs -batch -f list-load-path-shadows || true; \
 	fi
 
 ## We run make-docfile twice because the command line may get too long
--- a/src/makefile.w32-in	Fri Jan 07 18:34:26 2011 -0800
+++ b/src/makefile.w32-in	Fri Jan 07 18:41:14 2011 -0800
@@ -1,6 +1,6 @@
 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-#   2008, 2009, 2010  Free Software Foundation, Inc.
+#   2008, 2009, 2010, 2011  Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
 
@@ -165,7 +165,7 @@
 emacs:          stamp_BLD $(EMACS)
 $(EMACS):       $(DOC) $(TEMACS)
 	"$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
-	-"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
+	-"$(THISDIR)/$(BLD)/emacs.exe" -batch -f list-load-path-shadows
 
 #
 # The undumped executable