-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
31 lines (26 loc) · 851 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
INCLUDE_REPO=https://github.com/masteringmatplotlib/includes.git
INCLUDE_DIR=include
NAME=arch
NOTEBOOK=notebooks/mmpl-$(NAME).ipynb
-include include/common.mk
-include include/graphviz.mk
-include include/types.mk
# The following target is intended for use by project-creators only. When
# creating a new notebook project, add a copy of this Makefile and run this
# target to get the includes set up:
#
# $ make setup-submodule
setup-submodule:
git submodule add $(INCLUDE_REPO) $(INCLUDE_DIR)
# The 'setup' target needs to be run before the 'project-deps' target,
# so that the includes are present (done by 'make project-setup').
deps: pygraphviz base-deps
. $(VENV)/bin/activate && \
pip3.4 install -r requirements/part2.txt
setup:
@git submodule init
@git submodule update
@make project-setup
.DEFAULT_GOAL :=
default: setup
make run