SHELL = /bin/bash REPOSITORY = https://github.com/mwaskom/seaborn.git check_env_vars: ifdef OUTPUT_PATH OUTPUT_PATH := ${OUTPUT_PATH}/seaborn else $(error OUTPUT_PATH is undefined) endif venv: python3 -m venv venv repository: git clone ${REPOSITORY} repository v0.13.0: check_env_vars venv repository source venv/bin/activate cd repository git checkout tags/$@ # Instructions from doc/README.md # To get a list of available Python kernels, run jupyter kernelspec list pip install .[stats,docs] export NB_KERNEL="python3" cd doc make clean notebooks html mkdir --parents "${OUTPUT_PATH}" cp --recursive _build/html "${OUTPUT_PATH}/$@" .ONESHELL: .SUFFIXES: .PHONY: .DELETE_ON_ERROR: