[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 8c0d827319 12/19: make: Improve creation of a
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient 8c0d827319 12/19: make: Improve creation of autoloads file |
Date: |
Mon, 2 May 2022 05:08:25 -0400 (EDT) |
branch: externals/transient
commit 8c0d827319db235c0ce5165d43da14460967432d
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
make: Improve creation of autoloads file
---
lisp/Makefile | 36 +++++++++++-------------------------
1 file changed, 11 insertions(+), 25 deletions(-)
diff --git a/lisp/Makefile b/lisp/Makefile
index 8166fbe663..c2cbd78241 100644
--- a/lisp/Makefile
+++ b/lisp/Makefile
@@ -15,30 +15,16 @@ clean:
@printf " Cleaning lisp/*...\n"
@rm -rf $(CLEAN)
-define LOADDEFS_TMPL
-;;; $(PKG)-autoloads.el --- automatically extracted autoloads
-;;
-;;; Code:
-(add-to-list 'load-path (directory-file-name \
-(or (file-name-directory #$$) (car load-path))))
-
-;; Local Variables:
-;; version-control: never
-;; no-byte-compile: t
-;; no-update-autoloads: t
-;; End:
-;;; $(PKG)-autoloads.el ends here
-endef
-export LOADDEFS_TMPL
-#'
-
$(PKG)-autoloads.el: $(ELS)
@printf " Creating $@\n"
- @printf "%s" "$$LOADDEFS_TMPL" > $@
- @$(EMACS) -Q --batch --eval "(progn\
- (setq make-backup-files nil)\
- (setq vc-handled-backends nil)\
- (setq default-directory (file-truename default-directory))\
- (setq generated-autoload-file (expand-file-name \"$@\"))\
- (setq find-file-visit-truename t)\
- (update-directory-autoloads default-directory))"
+ @$(EMACS) -Q --batch -l autoload -l cl-lib --eval "\
+(let ((file (expand-file-name \"$@\"))\
+ (autoload-timestamps nil) \
+ (backup-inhibited t)\
+ (version-control 'never)\
+ (coding-system-for-write 'utf-8-emacs-unix))\
+ (write-region (autoload-rubric file \"package\" nil) nil file nil 'silent)\
+ (cl-letf (((symbol-function 'progress-reporter-do-update) (lambda (&rest
_)))\
+ ((symbol-function 'progress-reporter-done) (lambda (_))))\
+ (let ((generated-autoload-file file))\
+ (update-directory-autoloads default-directory))))"
- [elpa] externals/transient f704f2a341 08/19: Use and-let* for side-effects, (continued)
- [elpa] externals/transient f704f2a341 08/19: Use and-let* for side-effects, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 682fe574fe 09/19: Silence older byte-compilers, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient c088aaccbb 01/19: transient--insert-group: Support multi-row cells, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 19cf9bef5d 02/19: Revert "transient--insert-group: Support multi-row cells", Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 158d023bd0 04/19: Use pcase's quote upattern, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 22ef906b5a 07/19: Use string-search instead of string-match-p, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 35c4b73419 10/19: Refresh library header, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 5ae3c4014e 05/19: Depend on compat package from GNU Elpa, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient fabd8c9b61 14/19: Put eval-when-compile and require on one line, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient d4fb853d49 15/19: transient--show: Also hide the header-line, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 8c0d827319 12/19: make: Improve creation of autoloads file,
Jonas Bernoulli <=
- [elpa] externals/transient cf37817bb5 06/19: Use string-replace instead of replace-regexp-in-string, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 71de86e8ea 17/19: Fix invoking the suffix the cursor is on in the transient buffer, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient ed2febd005 16/19: Support use of an infix argument following a prefix argument, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 2ef62fac89 13/19: transient--insert-group: Support multi-row cells, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 84f2d12ef3 19/19: Fix doc-string typo, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient 62ba30e7d8 11/19: make: Right-align target verbs, Jonas Bernoulli, 2022/05/02
- [elpa] externals/transient d02b4f23e0 18/19: Change key binding for invoking the current suffix, Jonas Bernoulli, 2022/05/02