]> git.eshelyaron.com Git - emacs.git/commitdiff
(autoloads): Use "." instead of $(lisp) in the list of directories passed
authorEli Zaretskii <eliz@gnu.org>
Mon, 24 Oct 2005 10:55:25 +0000 (10:55 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 24 Oct 2005 10:55:25 +0000 (10:55 +0000)
to batch-update-autoloads.  Add "." to the list of the echoed directories.

lisp/ChangeLog
lisp/makefile.w32-in

index 08a213c524879c18c48d84c439e16b06f118a235..1ce55ddbcba3333200ce3eb9b30938e6ac4b3156 100644 (file)
@@ -1,5 +1,9 @@
 2005-10-24  Eli Zaretskii  <eliz@gnu.org>
 
+       * makefile.w32-in (autoloads): Use "." instead of $(lisp) in the
+       list of directories passed to batch-update-autoloads.  Add "." to
+       the list of the echoed directories.
+
        * pgg-def.el:
        * pgg-gpg.el:
        * pgg-parse.el:
index 059351cf4bec21c5008651d455d2b6911f100c1e..31e31442378de49913061f547ba927d9b130a903 100644 (file)
@@ -146,14 +146,18 @@ loaddefs.el-CMD:
        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