]> git.eshelyaron.com Git - emacs.git/commitdiff
Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de...
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 13 Sep 2010 16:33:56 +0000 (18:33 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 13 Sep 2010 16:33:56 +0000 (18:33 +0200)
* makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
  (TRAMP_SRC): New macro.
  ($(lisp)/net/tramp-loaddefs.el): New target.

lisp/ChangeLog
lisp/makefile.w32-in

index c216119fd0ff8e6011d94f3c2c8972a10fafa9e6..0d7e47e9ca0ebd373b1f5de04828a17b81a8de36 100644 (file)
@@ -1,3 +1,10 @@
+2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
+
+       Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
+       * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
+       (TRAMP_SRC): New macro.
+       ($(lisp)/net/tramp-loaddefs.el): New target.
+
 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
 
        Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
index df997b7658522b8483d4059b4d8ad900051b624c..43328a9e46a5c66edfb667c8223cbefbcb19cf4d 100644 (file)
@@ -55,7 +55,7 @@ ETAGS = "../lib-src/$(BLD)/etags"
 # Automatically generated autoload files, apart from lisp/loaddefs.el.
 LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
        $(lisp)/calendar/diary-loaddefs.el $(lisp)/calendar/hol-loaddefs.el \
-       $(lisp)/mh-e/mh-loaddefs.el
+       $(lisp)/mh-e/mh-loaddefs.el $(lisp)/net/tramp-loaddefs.el
 
 AUTOGENEL = $(lisp)/loaddefs.el $(LOADDEFS) $(lisp)/cus-load.el \
        $(lisp)/finder-inf.el $(lisp)/subdirs.el $(lisp)/eshell/esh-groups.el \
@@ -403,6 +403,25 @@ $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC)
           -f w32-batch-update-autoloads \
           $(ARGQUOTE)$(lisp)/mh-e/mh-loaddefs.el$(ARGQUOTE) $(MAKE) ./mh-e
 
+# Update TRAMP internal autoloads. Maybe we could move tramp*.el into
+# its own subdirectory. OTOH, it does not hurt to keep them in
+# lisp/net.
+TRAMP_SRC = $(lisp)/net/tramp.el  $(lisp)/net/tramp-cache.el  \
+       $(lisp)/net/tramp-cmds.el $(lisp)/net/tramp-compat.el \
+       $(lisp)/net/tramp-ftp.el  $(lisp)/net/tramp-gvfs.el   \
+       $(lisp)/net/tramp-gw.el   $(lisp)/net/tramp-imap.el   \
+       $(lisp)/net/tramp-sh.el   $(lisp)/net/tramp-smb.el    \
+       $(lisp)/net/tramp-uu.el   $(lisp)/net/trampver.el
+
+$(lisp)/net/tramp-loaddefs.el: $(TRAMP_SRC)
+       "$(EMACS)" $(EMACSOPT) \
+          -l autoload \
+          --eval $(ARGQUOTE)(setq generate-autoload-cookie $(DQUOTE);;;###tramp-autoload$(DQUOTE))$(ARGQUOTE) \
+          --eval $(ARGQUOTE)(setq find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
+          --eval $(ARGQUOTE)(setq make-backup-files nil)$(ARGQUOTE) \
+          -f w32-batch-update-autoloads \
+          $(ARGQUOTE)$(lisp)/net/tramp-loaddefs.el$(ARGQUOTE) $(MAKE) ./net
+
 # Prepare a bootstrap in the lisp subdirectory.
 #
 # Build loaddefs.el to make sure it's up-to-date.  If it's not, that