fix(docs): Make sure required directory exists
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2348>
This commit is contained in:
parent
73364145c3
commit
e0f6641bba
|
@ -20,6 +20,9 @@ SPHINX_OPTS = -j $(CPU_CORES)
|
||||||
SOURCE_DIR = .
|
SOURCE_DIR = .
|
||||||
BUILD_DIR = _build
|
BUILD_DIR = _build
|
||||||
|
|
||||||
|
$(BUILD_DIR):
|
||||||
|
mkdir -p $(BUILD_DIR)
|
||||||
|
|
||||||
# Dev
|
# Dev
|
||||||
dev: $(VENV)
|
dev: $(VENV)
|
||||||
poetry run _scripts/serve.py
|
poetry run _scripts/serve.py
|
||||||
|
@ -57,10 +60,10 @@ swagger:
|
||||||
cp schema.yml "$(SWAGGER_BUILD_DIR)/schema.yml"
|
cp schema.yml "$(SWAGGER_BUILD_DIR)/schema.yml"
|
||||||
|
|
||||||
# Releases
|
# Releases
|
||||||
$(BUILD_DIR)/releases.json:
|
$(BUILD_DIR)/releases.json: $(BUILD_DIR)
|
||||||
../scripts/releases.py > "$@"
|
../scripts/releases.py > "$@"
|
||||||
|
|
||||||
$(BUILD_DIR)/latest.txt:
|
$(BUILD_DIR)/latest.txt: $(BUILD_DIR)
|
||||||
../scripts/releases.py -r -q latest.id > "$@"
|
../scripts/releases.py -r -q latest.id > "$@"
|
||||||
|
|
||||||
releases: $(BUILD_DIR)/releases.json $(BUILD_DIR)/latest.txt
|
releases: $(BUILD_DIR)/releases.json $(BUILD_DIR)/latest.txt
|
||||||
|
|
Loading…
Reference in New Issue