From: Phillip Lord Date: Wed, 16 Dec 2015 22:20:26 +0000 (+0000) Subject: Add autoload-force target. X-Git-Tag: emacs-26.0.90~2892 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=88492253bf996a5d3323dd8641695316cbbe345e;p=emacs.git Add autoload-force target. * lisp/Makefile.in (autoload-force): New target. --- 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: