forked from nverno/company-autoconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (35 loc) · 841 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
EMACS ?= emacs
EASK ?= eask
wget ?= wget
.PHONY: clean distclean
all:
README.md: el2markdown.el company-autoconf.el
$(EMACS) -batch -l $< company-autoconf.el -f el2markdown-write-readme
$(RM) $@~
.INTERMEDIATE: el2markdown.el
el2markdown.el:
$(wget) -q -O $@ "https://github.com/Lindydancer/el2markdown/raw/master/el2markdown.el"
distclean: clean
$(RM) *autoloads.el *loaddefs.el TAGS *.elc
.PHONY: clean checkdoc lint package install compile test
ci: clean package install compile
package:
@echo "Packaging..."
$(EASK) package
install:
@echo "Installing..."
$(EASK) install
compile:
@echo "Compiling..."
$(EASK) compile
test:
@echo "Testing..."
$(EASK) test ert ./test/*.el
checkdoc:
@echo "Run checkdoc..."
$(EASK) lint checkdoc
lint:
@echo "Run package-lint..."
$(EASK) lint package
clean:
$(EASK) clean all