home » zplus/dokk.git
ID: 2c761a523cd2be988f75d1b594bb17fa6b0ead64
27 lines — 626B — View raw


SHELL = /bin/bash

REPOSITORY = https://github.com/ceph/ceph.git

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

repository:
	git clone ${REPOSITORY} repository

v0.94.10 v9.2.1 v10.2.11 v11.2.1 v12.2.14 v13.2.10 v14.2.22 v15.2.17 v16.2.14 v17.2.7: check_env_vars repository
	cd repository
	git checkout tags/$@
	sudo apt-get install `cat doc_deps.deb.txt`
	admin/build-doc
	mkdir --parents "${OUTPUT_PATH}"
	# They build sphinx "dirhtml" by default
	cp --recursive build-doc/output/html "${OUTPUT_PATH}/$@"

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