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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
PYTHON ?= python3
build: build_c build_py
install: install_py install_c
uninstall: uninstall_py
build_py:
${PYTHON} ./setup.py build
build_c:
doc:
check:
flake8 src/docgenerator
test: install
python3 -m unittest discover --verbose -s tests
linux_exe:
windows_exe:
release:
release_pypi:
clean:
rm -rf build dist *.egg-info
install_py:
${PYTHON} ./setup.py install ${PIP_ARGS}
install_c:
uninstall_py:
pip3 uninstall -y docgenerator
uninstall_c:
help:
@echo "make build || make build_py"
@echo "make check"
@echo "make help: display this message"
@echo "make install || make install_py"
@echo "make uninstall || make uninstall_py"
@echo "make release"
.PHONY: \
build \
build_c \
build_py \
check \
doc \
exe \
help \
install \
install_c \
install_py \
test \
uninstall \
uninstall_c \
|