From 88492253bf996a5d3323dd8641695316cbbe345e Mon Sep 17 00:00:00 2001 From: Phillip Lord Date: Wed, 16 Dec 2015 22:20:26 +0000 Subject: [PATCH] Add autoload-force target. * lisp/Makefile.in (autoload-force): New target. --- lisp/Makefile.in | 7 +++++++ 1 file changed, 7 insertions(+) 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: -- 2.39.2