File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
1
+ * -autoloads.el
2
+ * .elc
1
3
.cask
2
- vendor
3
4
composer.lock
5
+ vendor /*
Original file line number Diff line number Diff line change
1
+ EMACS ?= emacs
2
+ CASK ?= cask
3
+ ELS = composer.el
4
+ AUTOLOADS = composer-autoloads.el
5
+ ELCS = $(ELS:.el=.elc )
6
+
7
+ .el.elc : .cask
8
+ $(EMACS ) -Q -batch -L . --eval \
9
+ " (let ((default-directory (expand-file-name \" .cask\" default-directory))) \
10
+ (require ' package) \
11
+ (normal-top-level-add-subdirs-to-load-path))" \
12
+ -f package-initialize -f batch-byte-compile $<
13
+
14
+ .cask : Cask
15
+ $(CASK )
16
+
17
+ all : clean autoloads $(ELCS )
18
+
19
+ autoloads : $(AUTOLOADS )
20
+
21
+ $(AUTOLOADS ) : $(ELCS )
22
+ $(EMACS ) -Q -batch -L . --eval \
23
+ " (progn \
24
+ (require ' package) \
25
+ (normal-top-level-add-subdirs-to-load-path) \
26
+ (package-generate-autoloads \" composer\" default-directory))"
27
+
28
+ clean :
29
+ -rm -f $(ELCS ) $(AUTOLOADS )
30
+
31
+ clobber : clean
32
+ -rm -f .cask
33
+
34
+ .PHONY : all autoloads clean clobber
You can’t perform that action at this time.
0 commit comments