From 1cd1b080a70a36adc4c9169ac24be91faafc5e31 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Sun, 4 May 2025 16:00:29 +0700 Subject: [PATCH] Remove autoloads generation from `make all` Generating autoloads is a very special case that's rarely needed, so no reason to include it into `make all`. Thus, separate it to its own rule that can be invoked with `make autoloads`, and move out of `all`. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3740ef0..c0d592e 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ PKG_TAR = purescript-mode-$(VERSION).tar .PHONY: all compile info clean test elpa package -all: compile $(AUTOLOADS) info +all: compile info compile: $(ELCFILES) @@ -87,6 +87,7 @@ $(PKG_TAR): $(PKG_DIST_FILES) purescript-mode-pkg.el.in @echo @echo "Created ELPA compatible distribution package '$@' from $(GIT_VERSION)" +autoloads: $(AUTOLOADS) $(AUTOLOADS): $(ELFILES) purescript-mode.elc $(BATCH) \ --eval '(setq make-backup-files nil)' \