ID: b8611842f8bea14b21d744ed048524feb92cc4d1
31 lines
—
595B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/bastibe/python-soundfile.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/python-soundfile
else
$(error OUTPUT_PATH is undefined)
endif
venv:
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
0.11.0 0.12.1: check_env_vars venv repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install -r doc/requirements.txt
cd doc
make clean dirhtml
mkdir --parents "${OUTPUT_PATH}"
cp --recursive _build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|