summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-04-12 02:28:40 -0400
committerKyle Meyer <kyle@kyleam.com>2015-04-12 02:28:40 -0400
commit295bbfbc94727691d7e9919abf9f358ab7a6b241 (patch)
treeeb52acd4c80896c6d070915a19bbd339709ac71d
parentdebe7ba9bde1fed10f4e9668000a96c82ad7a33d (diff)
downloadsnakemake-mode-295bbfbc94727691d7e9919abf9f358ab7a6b241.tar.gz
Makefile: Use generated-autoload-file variable
Based on issue #3, perhaps older versions of update-file-autoloads don't take an 'outfile' argument.
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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: