aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c27dbb1..b5da515 100644
--- a/Makefile
+++ b/Makefile
@@ -30,4 +30,7 @@ clean:
%-autoloads.el: %.el
@$(BATCH) --eval \
"(let ((make-backup-files nil)) \
- (update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\"))"
+ (if (fboundp 'loaddefs-generate) \
+ (loaddefs-generate default-directory \"$@\" \
+ (list \"annexview-tests.el\")) \
+ (update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\")))"