From 295bbfbc94727691d7e9919abf9f358ab7a6b241 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 12 Apr 2015 02:28:40 -0400 Subject: Makefile: Use generated-autoload-file variable Based on issue #3, perhaps older versions of update-file-autoloads don't take an 'outfile' argument. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5adaef7..8b3e837 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,9 @@ autoloads: $(AUTOLOADS_FILE) $(AUTOLOADS_FILE): $(main_el) @$(EMACS) --eval \ - "(let (make-backup-files) \ - (update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\"))" + "(let ((make-backup-files nil) \ + (generated-autoload-file \"$(CURDIR)/$@\")) \ + (update-file-autoloads \"$(CURDIR)/$<\" t))" .PHONY: clean clean: -- cgit v1.2.3