summaryrefslogtreecommitdiff
path: root/scripts/legacy-vs-blobs/makefile
blob: 649e181cd16a41fb985350203862b939a7e5c536 (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 ./legacy-vs-blobs.py