emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] externals/caml 38ebde1 197/197: Generate a caml-mode-site-file


From: Stefan Monnier
Subject: [nongnu] externals/caml 38ebde1 197/197: Generate a caml-mode-site-file
Date: Sat, 21 Nov 2020 01:20:06 -0500 (EST)

branch: externals/caml
commit 38ebde12d3d529e6ef8078967997d32226e69e82
Author: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Commit: Christophe Troestler <Christophe.Troestler@umons.ac.be>

    Generate a caml-mode-site-file
---
 .gitignore             |  2 +-
 Makefile               | 10 +++++-
 caml-mode-site-file.el | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 100 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 2dd0c2c..e56a06c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-caml-mode-*
+*.tgz
 caml-mode.*/
diff --git a/Makefile b/Makefile
index 5f12f22..509bfa4 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ TARBALL = caml-mode-$(VERSION).tgz
 # Files to install
 FILES= caml-font.el caml-hilit.el caml.el camldebug.el \
        inf-caml.el caml-compat.el caml-help.el caml-types.el \
-       caml-xemacs.el caml-emacs.el
+       caml-xemacs.el caml-emacs.el caml-mode-site-file.el
 
 DIST_FILES = $(FILES) Makefile README* COPYING* CHANGES.md ocamltags.in
 
@@ -48,6 +48,14 @@ COMPILECMD=(progn \
              (byte-compile-file "caml-font.el") \
              (byte-compile-file "camldebug.el"))
 
+caml-mode-site-file.el: $(SOURCES)
+       (echo ";;; $@ --- Automatically extracted autoloads.";\
+        echo ";;; Code:";\
+        echo "(add-to-list 'load-path";\
+        echo "             (or (file-name-directory load-file-name) (car 
load-path)))";\
+        echo "") >$@
+       $(EMACS) --batch --eval '(setq generated-autoload-file "'`pwd`'/$@")' 
-f batch-update-autoloads "."
+
 install:
        @if test "$(EMACSDIR)" = ""; then \
          $(EMACS) --batch --eval 't; see PR#5403'; \
diff --git a/caml-mode-site-file.el b/caml-mode-site-file.el
new file mode 100644
index 0000000..0d8177a
--- /dev/null
+++ b/caml-mode-site-file.el
@@ -0,0 +1,90 @@
+;;; caml-mode-site-file.el --- Automatically extracted autoloads.
+;;; Code:
+(add-to-list 'load-path
+             (or (file-name-directory load-file-name) (car load-path)))
+
+;;;### (autoloads nil "caml" "caml.el" (0 0 0 0))
+;;; Generated autoloads from caml.el
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"caml" '("caml-")))
+
+;;;***
+
+;;;### (autoloads nil "caml-emacs" "caml-emacs.el" (0 0 0 0))
+;;; Generated autoloads from caml-emacs.el
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"caml-emacs" '("caml-")))
+
+;;;***
+
+;;;### (autoloads nil "caml-font" "caml-font.el" (0 0 0 0))
+;;; Generated autoloads from caml-font.el
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"caml-font" '("inferior-caml-" "caml-font-")))
+
+;;;***
+
+;;;### (autoloads nil "caml-font-old" "caml-font-old.el" (0 0 0 0))
+;;; Generated autoloads from caml-font-old.el
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"caml-font-old" '("inferior-caml-" "caml-")))
+
+;;;***
+
+;;;### (autoloads nil "caml-help" "caml-help.el" (0 0 0 0))
+;;; Generated autoloads from caml-help.el
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"caml-help" '("ocaml-" "caml-")))
+
+;;;***
+
+;;;### (autoloads nil "caml-hilit" "caml-hilit.el" (0 0 0 0))
+;;; Generated autoloads from caml-hilit.el
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"caml-hilit" '("caml-")))
+
+;;;***
+
+;;;### (autoloads nil "caml-types" "caml-types.el" (0 0 0 0))
+;;; Generated autoloads from caml-types.el
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"caml-types" '("caml-" "next-annotation")))
+
+;;;***
+
+;;;### (autoloads nil "caml-xemacs" "caml-xemacs.el" (0 0 0 0))
+;;; Generated autoloads from caml-xemacs.el
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"caml-xemacs" '("caml-")))
+
+;;;***
+
+;;;### (autoloads nil "camldebug" "camldebug.el" (0 0 0 0))
+;;; Generated autoloads from camldebug.el
+
+(defvar camldebug-command-name "ocamldebug" "\
+*Pathname for executing camldebug.")
+
+(autoload 'camldebug "camldebug" "\
+Run camldebug on program FILE in buffer *camldebug-FILE*.
+The directory containing FILE becomes the initial working directory
+and source-file directory for camldebug.  If you wish to change this, use
+the camldebug commands `cd DIR' and `directory'.
+
+\(fn PATH)" t nil)
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"camldebug" '("current-camldebug-buffer" "camldebug-" "def-camldebug")))
+
+;;;***
+
+;;;### (autoloads nil "inf-caml" "inf-caml.el" (0 0 0 0))
+;;; Generated autoloads from inf-caml.el
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes 
"inf-caml" '("caml-" "inferior-caml-" "run-caml")))
+
+;;;***
+
+;;;### (autoloads nil nil ("caml-compat.el") (0 0 0 0))
+
+;;;***
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]