ID: ad1328f77b7a8b339d6f866e15c6ae72d97cc3f3
34 lines
—
671B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/spyoungtech/ahk.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/autohotkey-ahk
else
$(error OUTPUT_PATH is undefined)
endif
venv-3.11:
export PYENV_VERSION=3.11
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
v1.0.0 v1.7.6: check_env_vars venv-3.11 repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install -r requirements-dev.txt -r docs/docrequirements.txt
pip install .
cd docs
make clean
make dirhtml
mkdir --parents "${OUTPUT_PATH}"
cp --recursive _build/dirhtml "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|