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

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

[elpa] externals/hyperbole 0370145293: Make kotl-autoloads without build


From: ELPA Syncer
Subject: [elpa] externals/hyperbole 0370145293: Make kotl-autoloads without building hyperbole-autoloads.el (#307)
Date: Fri, 17 Feb 2023 02:57:52 -0500 (EST)

branch: externals/hyperbole
commit 0370145293f8f42919d0814358f376899411d8b1
Author: Mats Lidell <mats.lidell@lidells.se>
Commit: GitHub <noreply@github.com>

    Make kotl-autoloads without building hyperbole-autoloads.el (#307)
---
 ChangeLog | 6 ++++++
 Makefile  | 9 +++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index de96e001f4..38a06734c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-02-15  Mats Lidell  <matsl@gnu.org>
+
+* Makefile (EMACS_PLAIN_BATCH, kotl/kotl-autoloads.el): Use
+    EMACS_PLAIN_BATCH macro in autoloads target to avoid triggering
+    building hyperbole-autoloads. Patch from Stefan Monnier. Thanks Stefan.
+
 2023-02-13  Mats Lidell  <matsl@gnu.org>
 
 * hversion.el (id-info-item): Use two args with looking-back.
diff --git a/Makefile b/Makefile
index f5f7d04b91..be8793374c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,9 @@
 # Author:       Bob Weiner
 #
 # Orig-Date:    15-Jun-94 at 03:42:38
-# Last-Mod:      7-Jan-23 at 20:45:26 by Bob Weiner
+# Last-Mod:     17-Feb-23 at 00:32:14 by Mats Lidell
 #
-# Copyright (C) 1994-2022  Free Software Foundation, Inc.
+# Copyright (C) 1994-2023  Free Software Foundation, Inc.
 # See the file HY-COPY for license information.
 #
 # This file is part of GNU Hyperbole.
@@ -170,6 +170,7 @@ BATCHFLAGS = -batch -Q --eval "(progn (setq debug-on-error 
t) (setq backtrace-li
                                  (message \"  emacs-version = %s\n  
system-configuration = %s\n  emacs = %s%s\" emacs-version system-configuration 
invocation-directory invocation-name))"
 
 EMACS_BATCH=$(EMACS) $(BATCHFLAGS) $(PRELOADS)
+EMACS_PLAIN_BATCH=$(EMACS) $(BATCHFLAGS)
 
 # Directories other than the current directory in which to find files.
 # This doesn't seem to work in all versions of make, so we also add kotl/
@@ -420,13 +421,13 @@ ftp: package 
$(pkg_parent)/hyperbole-$(HYPB_VERSION).tar.gz
        cd $(pkg_parent) && $(GNUFTP) hyperbole-$(HYPB_VERSION).tar.gz
 
 # Autoloads
-autoloads: hyperbole-autoloads.el kotl/kotl-autoloads.el
+autoloads: kotl/kotl-autoloads.el hyperbole-autoloads.el
 
 hyperbole-autoloads.el: $(EL_COMPILE)
        $(EMACS_BATCH) --debug --eval "(progn (setq generated-autoload-file 
(expand-file-name \"hyperbole-autoloads.el\") backup-inhibited t) (let 
(find-file-hooks) (hload-path--make-directory-autoloads \".\" 
generated-autoload-file)))"
 
 kotl/kotl-autoloads.el: $(EL_KOTL)
-       $(EMACS_BATCH) --debug --eval "(progn (setq generated-autoload-file 
(expand-file-name \"kotl/kotl-autoloads.el\") backup-inhibited t) (let 
(find-file-hooks) (hload-path--make-directory-autoloads \"kotl/\" 
generated-autoload-file)))"
+       $(EMACS_PLAIN_BATCH) --debug --eval "(let ((autoload-file 
(expand-file-name \"kotl/kotl-autoloads.el\")) (backup-inhibited t) 
(find-file-hooks)) (if (functionp (quote make-directory-autoloads)) 
(make-directory-autoloads \"kotl/\" autoload-file) (progn (setq 
generated-autoload-file autoload-file) (update-directory-autoloads 
\"kotl/\"))))"
 
 # Used for ftp.gnu.org tarball distributions.
 $(pkg_parent)/hyperbole-$(HYPB_VERSION).tar.gz:



reply via email to

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