emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 8849225 3/8: Add autoload-force target.


From: Phillip Lord
Subject: [Emacs-diffs] master 8849225 3/8: Add autoload-force target.
Date: Thu, 17 Dec 2015 20:48:49 +0000

branch: master
commit 88492253bf996a5d3323dd8641695316cbbe345e
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>

    Add autoload-force target.
    
    * lisp/Makefile.in (autoload-force): New target.
---
 lisp/Makefile.in |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 4cd1c74..d775c92 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -180,6 +180,13 @@ $(lisp)/loaddefs.el: $(LOADDEFS)
            --eval '(setq generated-autoload-file (expand-file-name 
(unmsys--file-name "$@")))' \
            -f batch-update-autoloads ${SUBDIRS_ALMOST}
 
+# autoloads only runs when loaddefs.el is non-existant, although it
+# generates a number of different files. Provide a force option to enable
+# regeneration of all these files.
+autoloads-force .PHONY:
+       rm loaddefs.el
+       $(MAKE) autoloads
+
 # This is required by the bootstrap-emacs target in ../src/Makefile, so
 # we know that if we have an emacs executable, we also have a subdirs.el.
 $(lisp)/subdirs.el:



reply via email to

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