changeset 81710:941c1cfacdc7

(bootstrap-prepare): Make $(lisp)/ps-print.el and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Thu, 05 Jul 2007 20:36:24 +0000
parents 88604a3ac7e4
children 2437f0f81589
files lisp/Makefile.in
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/Makefile.in	Thu Jul 05 19:48:06 2007 +0000
+++ b/lisp/Makefile.in	Thu Jul 05 20:36:24 2007 +0000
@@ -275,14 +275,19 @@
 # an up-to-date copy of loaddefs.el that is uncorrupted by
 # local changes.  (Because loaddefs.el is an automatically generated
 # file, we don't want to store it in the source repository).
+#
+# The chmod +w is to handle env var CVSREAD=1.  Files named
+# are identified by being the value of `generated-autoload-file'.
 
 bootstrap-prepare:
 	if test -x $(EMACS); then				\
 	  $(MAKE) $(MFLAGS) autoloads;				\
 	else							\
 	  cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el;		\
-	  chmod +w $(lisp)/loaddefs.el;				\
 	fi
+	chmod +w $(lisp)/loaddefs.el		\
+	  $(lisp)/ps-print.el			\
+	  $(lisp)/emacs-lisp/cl-loaddefs.el
 
 maintainer-clean: distclean
 	cd $(lisp); rm -f *.elc */*.elc $(AUTOGENEL)