forked from python-intelhex/intelhex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (26 loc) · 764 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
30
31
32
33
34
35
PYTHON := python
all:
@echo Available targets:
@echo clean - clean build directory
@echo test - run unittest
@echo dev - install via pip as editable package
@echo apidoc - run epdoc to create API documentation
@echo wininst - Windows installer for Python
@echo docs - build docs with ReST and Sphinx
@echo wheel - build python wheel binary archive
.PHONY: clean test epydoc wininst docs dev apidoc wheel
clean:
$(PYTHON) setup.py clean -a
test:
$(PYTHON) setup.py test -q
dev:
$(PYTHON) -m pip install -e .
apidoc:
pdoc -o docs/api --html -f intelhex
wininst:
$(PYTHON) setup.py bdist_wininst -d.
docs:
rst2html5.py docs/manual.txt docs/manual.html
$(MAKE) -C docs/manual html
wheel:
$(PYTHON) -m pip wheel -w dist .