forked from python-intelhex/intelhex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (23 loc) · 646 Bytes
/
Makefile
File metadata and controls
31 lines (23 loc) · 646 Bytes
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
PYTHON := python
all:
@echo Available targets:
@echo clean - clean build directory
@echo test - run unittest
@echo epydoc - run epydoc to create API documentation
@echo wininst - Windows installer for Python
@echo docs - build docs with ReST and Sphinx
@echo wheel - build wheel binary archive (see pip & wheel)
.PHONY: clean test epydoc wininst docs
clean:
$(PYTHON) setup.py clean -a
test:
$(PYTHON) setup.py test -q
epydoc:
epydoc.py -o api -v intelhex
wininst:
$(PYTHON) setup.py bdist_wininst -d.
docs:
rst2html docs/manual.txt docs/manual.html
make -C docs/manual html
wheel:
$(PYTHON) -m pip wheel .