ID: f4ef25a157723c4e9a042bf8bd3c9c4ab1af6adb
31 lines
—
679B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/GrahamDumpleton/mod_wsgi.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/apache_mod_wsgi
else
$(error OUTPUT_PATH is undefined)
endif
venv:
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
4.1.0 4.1.3 4.2.0 4.2.8 4.3.0 4.3.2 4.4.0 4.4.23 4.5.0 4.5.24 4.6.8 4.7.0 4.7.1 4.8.0 4.9.0 4.9.4 5.0.0: check_env_vars venv repository
mkdir --parents "${OUTPUT_PATH}"
source venv/bin/activate
cd repository
git checkout tags/$@
cd docs
pip install sphinx sphinx_rtd_theme
make dirhtml
cp --recursive _build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|