-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (16 loc) · 687 Bytes
/
Makefile
File metadata and controls
20 lines (16 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# vim: set tabstop=8 softtabstop=8 noexpandtab:
.PHONY: help
help: ## 📋 Displays this list of targets with descriptions
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: docs
docs: ## 📚 Build Sphinx HTML documentation
@if [ -x .venv/bin/python ]; then \
.venv/bin/python -m sphinx -b html docs/source docs/_build/html; \
else \
python3 -m sphinx -b html docs/source docs/_build/html; \
fi
debs: ## 📦 Build debian packages
debuild -i -us -uc -b
reset: ## 🔄 Reset local branch to origin
git fetch origin
git reset --hard origin/$(git rev-parse --abbrev-ref HEAD)