summaryrefslogtreecommitdiff
path: root/lisp/Makefile.in
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2015-12-16 22:20:26 +0000
committerPhillip Lord <phillip.lord@russet.org.uk>2015-12-17 20:42:15 +0000
commit88492253bf996a5d3323dd8641695316cbbe345e (patch)
tree202bb1891ff0d08ba2111c9e03865685e8a49fe4 /lisp/Makefile.in
parent0eb57910ab91f705b4b1a6c5d0d558382c4725ab (diff)
Add autoload-force target.
* lisp/Makefile.in (autoload-force): New target.
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r--lisp/Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 4cd1c7400d6..d775c92f3e9 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: