From b9bbf178c55ae6d31198ff6835c6801813b462ce Mon Sep 17 00:00:00 2001 From: q-posev Date: Thu, 9 Sep 2021 15:06:16 +0200 Subject: [PATCH] add make python-sdist rule --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 50c8681..3f81463 100644 --- a/Makefile.am +++ b/Makefile.am @@ -205,6 +205,10 @@ python-install: $(pytrexio_py) $(setup_py) $(setup_cfg) cd python && \ ./install_pytrexio.sh $(HDF5_CFLAGS) $(HDF5_LDFLAGS) +python-sdist: $(pytrexio_py) $(setup_py) $(setup_cfg) + cd python && \ + python setup.py sdist + $(pytrexio_py): $(pytrexio_c) cd tools && ./prepare_python.sh @@ -228,7 +232,7 @@ CLEANFILES += $(pytrexio_c) \ python/src/*.c \ python/src/*.h -.PHONY: cppcheck python-test python-install check-numpy +.PHONY: cppcheck python-test python-install python-sdist check-numpy endif