Browse Source

Use org-loaddefs.el instead of org-install.el.

Bastien Guerry 13 years ago
parent
commit
5dcca72011
2 changed files with 8 additions and 8 deletions
  1. 3 3
      mk/default.mk
  2. 5 5
      mk/org-fixup.el

+ 3 - 3
mk/default.mk

@@ -56,7 +56,7 @@ BTEST	= $(BATCH) \
 	  --eval '(add-to-list '"'"'load-path "./lisp")' \
 	  --eval '(add-to-list '"'"'load-path "./lisp")' \
 	  --eval '(add-to-list '"'"'load-path "./testing")' \
 	  --eval '(add-to-list '"'"'load-path "./testing")' \
 	  $(BTEST_POST) \
 	  $(BTEST_POST) \
-	  -l org-install.el \
+	  -l org-loaddefs.el \
 	  -l testing/org-test.el \
 	  -l testing/org-test.el \
 	  $(foreach ob-lang,$(BTEST_OB_LANGUAGES),$(req-ob-lang)) \
 	  $(foreach ob-lang,$(BTEST_OB_LANGUAGES),$(req-ob-lang)) \
 	  $(foreach req,$(BTEST_EXTRA),$(req-extra)) \
 	  $(foreach req,$(BTEST_EXTRA),$(req-extra)) \
@@ -81,11 +81,11 @@ MAKE_LOCAL_MK = $(BATCHO) \
 BATCHL	= $(BATCH) \
 BATCHL	= $(BATCH) \
 	  --eval '(add-to-list '"'"'load-path ".")'
 	  --eval '(add-to-list '"'"'load-path ".")'
 
 
-# How to generate org-install.el
+# How to generate org-loaddefs.el
 MAKE_ORG_INSTALL = $(BATCHL) \
 MAKE_ORG_INSTALL = $(BATCHL) \
 	  --eval '(load "org-compat.el")' \
 	  --eval '(load "org-compat.el")' \
 	  --eval '(load "../mk/org-fixup.el")' \
 	  --eval '(load "../mk/org-fixup.el")' \
-	  --eval '(org-make-org-install)'
+	  --eval '(org-make-org-loaddefs)'
 
 
 # How to generate org-version.el
 # How to generate org-version.el
 MAKE_ORG_VERSION = $(BATCHL) \
 MAKE_ORG_VERSION = $(BATCHL) \

+ 5 - 5
mk/org-fixup.el

@@ -61,8 +61,8 @@ the Git work tree)."
     (toggle-read-only 0)
     (toggle-read-only 0)
     (write-file "org-version.el")))
     (write-file "org-version.el")))
 
 
-(defun org-make-org-install ()
-  "Make the file org-install.el in the current directory.
+(defun org-make-org-loaddefs ()
+  "Make the file org-loaddefs.el in the current directory.
 This function is internally used by the build system and should
 This function is internally used by the build system and should
 be used by foreign build systems or installers to produce this
 be used by foreign build systems or installers to produce this
 file in the installation directory of org-mode.  Org will not
 file in the installation directory of org-mode.  Org will not
@@ -75,12 +75,12 @@ work correctly if this file is not up-to-date."
     (insert "\f\n(provide 'org-loaddefs)\n")
     (insert "\f\n(provide 'org-loaddefs)\n")
     (insert "\f\n;; Local Variables:\n;; version-control: never\n")
     (insert "\f\n;; Local Variables:\n;; version-control: never\n")
     (insert ";; no-byte-compile: t\n;; no-update-autoloads: t\n")
     (insert ";; no-byte-compile: t\n;; no-update-autoloads: t\n")
-    (insert ";; coding: utf-8\n;; End:\n;;; org-install.el ends here\n")
+    (insert ";; coding: utf-8\n;; End:\n;;; org-loaddefs.el ends here\n")
     (toggle-read-only 0)
     (toggle-read-only 0)
     (save-buffer)))
     (save-buffer)))
 
 
 (defun org-make-autoloads (&optional compile force)
 (defun org-make-autoloads (&optional compile force)
-  "Make the files org-install and org-version.el in the install directory.
+  "Make the files org-loaddefs.el and org-version.el in the install directory.
 Finds the install directory by looking for library \"org\".
 Finds the install directory by looking for library \"org\".
 Optionally byte-compile lisp files in the install directory or
 Optionally byte-compile lisp files in the install directory or
 force re-compilation.  This function is provided for easier
 force re-compilation.  This function is provided for easier
@@ -96,7 +96,7 @@ manual install when the build system can't be used."
 	  (cd dirlisp)
 	  (cd dirlisp)
 	  (org-fixup)
 	  (org-fixup)
 	  (org-make-org-version (org-release) (org-git-version) dirodt)
 	  (org-make-org-version (org-release) (org-git-version) dirodt)
-	  (org-make-org-install)
+	  (org-make-org-loaddefs)
 	  (when compile (byte-recompile-directory dirlisp 0 force)))
 	  (when compile (byte-recompile-directory dirlisp 0 force)))
       (cd origin))))
       (cd origin))))