ID: 716d4c9e1202f07d1bdacceb9bd9c076772c175b
29 lines
—
546B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/certbot/certbot.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/certbot
else
$(error OUTPUT_PATH is undefined)
endif
venv:
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
v2.0.0 v2.7.0: check_env_vars venv repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install certbot[docs]
mkdir --parents "${OUTPUT_PATH}"
sphinx-build -b dirhtml certbot/docs "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|