mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2024-10-26 16:25:10 +03:00
4db97751bd
After years of finger training, I'm so used to 'make check' just working, that I lose quite a bit of time re-learning that in this project, it is spelled 'python setup.py build check'. A shim makefile bridges the gap. * Makefile: New file. Signed-off-by: Eric Blake <eblake@redhat.com>
19 lines
260 B
Makefile
19 lines
260 B
Makefile
# Shim wrapper around setup.py to allow for familiar build targets
|
|
|
|
PYTHON ?= python
|
|
|
|
all:
|
|
$(PYTHON) setup.py build
|
|
|
|
install: all
|
|
$(PYTHON) setup.py install
|
|
|
|
clean:
|
|
$(PYTHON) setup.py clean
|
|
|
|
check: all
|
|
$(PYTHON) setup.py test
|
|
|
|
rpm:
|
|
$(PYTHON) setup.py rpm
|