ID: 8e3eccd2f0d64bfbc561a404596571574d615bc4
27 lines
—
497B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/rdflib/rdflib.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/rdflib
else
$(error OUTPUT_PATH is undefined)
endif
repository:
git clone ${REPOSITORY} repository
7.0.0: check_env_vars repository
cd repository
git checkout tags/$@
poetry install
cd docs
poetry run make clean dirhtml
mkdir --parents "${OUTPUT_PATH}"
cp --recursive _build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|