Makefile: also build python wheel and source tgz

This commit is contained in:
Thomas Bernard 2024-05-09 16:00:53 +02:00
parent fcee51a5bf
commit 83b5dfbc4f
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# http://miniupnp.free.fr/
# https://miniupnp.tuxfamily.org/
# https://github.com/miniupnp/miniupnp
# (c) 2005-2023 Thomas Bernard
# (c) 2005-2024 Thomas Bernard
# to install use :
# $ make DESTDIR=/tmp/dummylocation install
# or
@ -178,8 +178,11 @@ check: validateminixml validateminiwget validateupnpreplyparse \
everything: all $(EXECUTABLES_ADDTESTS)
# note : the python module "wheel" is required for bdist_wheel
pythonmodule: $(LIBRARY) $(SRCDIR)/miniupnpcmodule.c setup.py
MAKE=$(MAKE) python setup.py build
MAKE=$(MAKE) python setup.py sdist
MAKE=$(MAKE) python setup.py bdist_wheel --skip-build
touch $@
installpythonmodule: pythonmodule