home » zplus/dokk.git
ID: bf1ab6dbb4a08428425d501f908d788435a3c514
32 lines — 621B — View raw


SHELL = /bin/bash

REPOSITORY = https://github.com/breathe-doc/breathe.git

check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/breathe
else
	$(error OUTPUT_PATH is undefined)
endif

venv:
	python3 -m venv venv

repository:
	git clone ${REPOSITORY} repository

v4.32.0 v4.33.1 v4.34.0 v4.35.0: check_env_vars venv repository
	mkdir --parents "${OUTPUT_PATH}"
	source venv/bin/activate
	cd repository
	git checkout tags/$@
	pip install -r requirements/development.txt
	make data
	cd documentation
	make dirhtml
	cp --recursive build/dirhtml "${OUTPUT_PATH}/$@"

.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR: