From 6c6432b9b48120dc0a3e5b9b7189fd500e5c1718 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Tue, 13 Oct 2015 17:35:58 +0100 Subject: [PATCH] * GNUmakefile: Update due to a dependency change --- GNUmakefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 0b0e3b0fb..cc5be304b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -110,14 +110,15 @@ autoloads := $(foreach pkg, $(pkgs), $(pkg)/$(notdir $(pkg))-autoloads.el) # FIXME: In 99% of the cases, autoloads can be generated in any order. # But the `names' package is an exception because it sets up an advice that # changes the way autload.el operates, and that advice is needed when creating -# the autoloads file of packages that use `names', such as `aggressive-indent'. +# the autoloads file of packages that use `names'. # The right solution is to check the Package-Requires and create the autoloads -# files in topological order, but for now we'll just do it the ad-hoc way +# files in topological order, but for now we can just do it the ad-hoc way and # add hand-made dependencies between autoloads files, and explicitly -# load the names-autoloads file when building autoloads files. +# load the names-autoloads file when building autoloads files. An example entry +# is commented below, this is what should be done if a package depends on Names. -packages/aggressive-indent/aggressive-indent-autoloads.el: \ - packages/names/names-autoloads.el +# packages/aggressive-indent/aggressive-indent-autoloads.el: \ +# packages/names/names-autoloads.el $(foreach al, $(autoloads), $(eval $(call RULE-srcdeps, $(al)))) %-autoloads.el: -- 2.39.2