changeset 66385:0c86bdf8a4cf

(autoloads): Use "." instead of $(lisp) in the list of directories passed to batch-update-autoloads. Add "." to the list of the echoed directories.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 24 Oct 2005 10:54:53 +0000
parents 98575511e3ad
children 19cfab89ab74
files lisp/makefile.w32-in
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/makefile.w32-in	Mon Oct 24 09:50:41 2005 +0000
+++ b/lisp/makefile.w32-in	Mon Oct 24 10:54:53 2005 +0000
@@ -146,14 +146,18 @@
 	echo ;;; End:>> $@
 	echo ;;; loaddefs.el ends here>> $@
 
+# Use . instead of $(lisp) because $(lisp) is an absolute file name,
+# 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.
 autoloads: $(lisp)/loaddefs.el doit
-	@echo Directories: $(WINS)
+	@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) \
-		-f batch-update-autoloads $(lisp) $(WINS)
+		-f batch-update-autoloads . $(WINS)
 
 $(lisp)/subdirs.el:
 	$(MAKE) $(MFLAGS) update-subdirs