-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
54 lines (39 loc) · 1.11 KB
/
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
48
49
50
51
52
53
54
# load.R fixes a bug with devtool's `help` to enable `help` on
# functions in this package, as well as loading the package
LOAD=R_PROFILE=load.R
RCMD=R -q -e
.PHONY:interactive
interactive:
@$(LOAD) R -q --no-save
.PHONY:interactive-emacs
interactive-emacs:
@$(LOAD) emacs -nw -f R
.PHONY:.devtools
.devtools:
@$(RCMD) "devtools:::$(FUNC)($(DEVTOOLSARG))"
DEVTOOLSARG=
.PHONY:dependencies
dependencies: FUNC=install_deps
dependencies: DEVTOOLSARG=dependencies=TRUE
.PHONY:test
test: FUNC=test
.PHONY:check
check: FUNC=check
.PHONY:document
document: FUNC=document
.PHONY:build
build: FUNC=build
.PHONY:check_win_old
check_win_old: FUNC=check_win_oldrelease # Check & build on win-builder old release
.PHONY:check_win
check_win: FUNC=check_win_release # ... on win-builder release
.PHONY:check_win_dev
check_win_dev: FUNC=check_win_devel # ... on win-builder dev
.PHONY:check_mac
check_mac: FUNC=check_mac_release
.PHONY:build_site
build_site: FUNC=build_site
dependencies test check document build check_win check_win_dev check_win_old check_mac build_site: .devtools
.PHONY:clean
clean:
git clean -Xfd