aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-12 23:43:13 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-12 23:43:13 -0500
commit561f9fe84b25809fe77015cdbbb84077f65de853 (patch)
tree23dfb0c155ab0f8bdc44940ac979c45acf3ac906
parentceb9f4085dec45cd46c5dccf2a395956760ed46e (diff)
downloadorg-link-edit-561f9fe84b25809fe77015cdbbb84077f65de853.tar.gz
Makefile: Fix autoloads rule.
- Actually save the autoloads file. - Prevent backup file from being generated.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1a2f3f7..64d187c 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,8 @@ autoloads: $(AUTOLOADS_FILE)
$(AUTOLOADS_FILE): $(main_el)
@$(EMACS) --eval \
- "(update-file-autoloads \"$(CURDIR)/$<\" nil \"$(CURDIR)/$@\")"
+ "(let (make-backup-files) \
+ (update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\"))"
.PHONY: clean
clean: