SHELL = /bin/bash REPOSITORY = https://pagure.io/pagure.git check_env_vars: ifdef OUTPUT_PATH OUTPUT_PATH := ${OUTPUT_PATH}/pagure else $(error OUTPUT_PATH is undefined) endif venv: python3 -m venv venv repository: git clone ${REPOSITORY} repository 0.1.36 1.2 2.15.1 3.13.2 4.0.4 5.0.1 5.1.4 5.2 5.3.1 5.4 5.5 5.6 5.7.9 5.8.1 5.9.1 5.10.0 5.11.3 5.12.1 5.13.3: check_env_vars venv repository source venv/bin/activate cd repository git checkout tags/$@ cd doc pip install -r requirements.txt mkdir --parents "${OUTPUT_PATH}" sphinx-build -b dirhtml . "${OUTPUT_PATH}/$@" .ONESHELL: .SUFFIXES: .PHONY: .DELETE_ON_ERROR: