1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-22 03:13:33 +01:00

Merge branch 'main' of github.com:binwiederhier/ntfy

This commit is contained in:
binwiederhier 2023-11-18 21:54:38 -05:00
commit 497f45e5cd

View file

@ -1,4 +1,6 @@
MAKEFLAGS := --jobs=1 MAKEFLAGS := --jobs=1
PYTHON := python3
PIP := pip3
VERSION := $(shell git describe --tag) VERSION := $(shell git describe --tag)
COMMIT := $(shell git rev-parse --short HEAD) COMMIT := $(shell git rev-parse --short HEAD)
@ -115,16 +117,16 @@ build-deps-ubuntu:
docs: docs-deps docs-build docs: docs-deps docs-build
docs-venv: .PHONY docs-venv: .PHONY
python3 -m venv ./venv $(PYTHON) -m venv ./venv
docs-build: docs-venv docs-build: docs-venv
(. venv/bin/activate && mkdocs build) (. venv/bin/activate && $(PYTHON) -m mkdocs build)
docs-deps: docs-venv docs-deps: docs-venv
(. venv/bin/activate && pip3 install -r requirements.txt) (. venv/bin/activate && $(PIP) install -r requirements.txt)
docs-deps-update: .PHONY docs-deps-update: .PHONY
(. venv/bin/activate && pip3 install -r requirements.txt --upgrade) (. venv/bin/activate && $(PIP) install -r requirements.txt --upgrade)
# Web app # Web app