blob: f8187e9a59b91a18943bc28560e2671737753c92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
VIRTUALENV_NAME = plot
VIRTUALENV_ROOT = ~/.virtualenvs/$(VIRTUALENV_NAME)
all: graph
env:
if [ ! -d $(VIRTUALENV_ROOT) ]; then \
mkdir -p $$(dirname $(VIRTUALENV_ROOT)); \
virtualenv $(VIRTUALENV_ROOT); \
$(VIRTUALENV_ROOT)/bin/pip install requirements.pip; \
fi
graph: env
$(VIRTUALENV_ROOT)/bin/python ./gen-graph.py
|