summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2022-08-19 17:55:32 +0300
committerBasil L. Contovounesios <contovob@tcd.ie>2022-08-19 17:55:32 +0300
commit449c17b5f25513398173f265b272fc1f9178a6e2 (patch)
tree76bec3403cf6c65bf606db511d566a329cb54e0c
parentaf929c164c4ffaee0c33ba97c06733f0ce9431d4 (diff)
parent3c4aad847c4564cf23e6109f7f3a241406e31016 (diff)
downloadbog-449c17b5f25513398173f265b272fc1f9178a6e2.tar.gz
Merge branch 'blc/loaddefs' [#14]
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d85bb40..23330e5 100644
--- a/Makefile
+++ b/Makefile
@@ -19,5 +19,10 @@ clean:
bog-autoloads.el: bog.el
@$(BATCH) -L . --eval \
- "(let (make-backup-files) \
- (update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\"))"
+ "(let* ((default-directory (file-name-as-directory \"$(CURDIR)\")) \
+ (target (expand-file-name \"$@\")) \
+ (excludes (list \"bog-tests.el\")) \
+ (make-backup-files nil)) \
+ (if (fboundp (quote loaddefs-generate)) \
+ (loaddefs-generate default-directory target excludes) \
+ (update-file-autoloads \"$<\" t target)))"