ID: 1a62d32280a6558c513568692da8783509b6b560
31 lines
—
615B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/sqlalchemy/mako.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/sqlalchemy-mako
else
$(error OUTPUT_PATH is undefined)
endif
venv:
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
rel_1_0_14 rel_1_1_6 rel_1_2_4 rel_1_3_0: check_env_vars venv repository
source venv/bin/activate
cd repository
git checkout tags/$@
cd doc/build/
pip install -r requirements.txt
make clean dirhtml
mkdir --parents "${OUTPUT_PATH}"
cp --recursive output/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|