ID: 6af405235812bac6ef1eda1c40e4eaa8882a2333
32 lines
—
670B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/joke2k/faker.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/python-faker
else
$(error OUTPUT_PATH is undefined)
endif
venv:
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
v9.9.1 v10.0.0 v11.4.0 v12.3.3 v13.16.0 v14.2.2 v15.3.4 v16.9.0 v17.6.0 v18.13.0 v19.13.0 v20.1.0 v21.0.0: check_env_vars venv repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install .
pip install sphinx
cd docs
make clean dirhtml
mkdir --parents "${OUTPUT_PATH}"
cp --recursive _build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|