From: Dmitry Shachnev <mitya57@debian.org>
Date: Sun, 24 Jan 2021 19:07:24 -0700
Subject: Preserve the Python source directory instead of deleting it

Forwarded: not-needed
---
 GNUmakefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index c9754be..fc05d93 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -487,9 +487,7 @@ dist_libstemmer_python: $(PYTHON_SOURCES) $(COMMON_FILES)
 	cp -a $(PYTHON_SOURCES) $${dest}/src/$(python_runtime_dir) && \
 	cp -a $(PYTHON_SAMPLE_SOURCES) $${dest}/src/$(python_sample_dir) && \
 	cp -a $(PYTHON_RUNTIME_SOURCES) $${dest}/src/$(python_runtime_dir) && \
-	cp -a $(COMMON_FILES) $(PYTHON_PACKAGE_FILES) $${dest} && \
-	(cd $${dest} && $(python) -m build && cp dist/*.tar.gz dist/*.whl ..) && \
-	rm -rf $${dest}
+	cp -a $(COMMON_FILES) $(PYTHON_PACKAGE_FILES) $${dest}
 
 dist_libstemmer_js: $(JS_SOURCES) $(COMMON_FILES)
 	destname=jsstemmer-$(SNOWBALL_VERSION); \
