-
Notifications
You must be signed in to change notification settings - Fork 65
/
Makefile
29 lines (22 loc) · 890 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Variables -------------------------------------------------------------------
# Commands --------------------------------------------------------------------
help:
@echo "Please use \`make <target>\` where <target> is one of"
@echo " pyc-clean to delete all temporary artifacts"
@echo " docs-html to generate HTML documentation"
@echo " docs-clean to remove documentation"
@echo " install to install in editable mode"
pyc-clean:
$(info Removing unused Python compiled files, caches and ~ backups...)
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +
docs-html:
@cd docs; $(MAKE) html
docs-clean:
@cd docs; $(MAKE) clean
docs-spelling:
@cd docs; $(MAKE) spelling
install:
pip install -e .