2025-09-02 15:58:02 +00:00
|
|
|
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
|
|
|
|
|
|
2021-05-11 13:48:10 +00:00
|
|
|
Forwarded: not-needed
|
2025-09-02 15:58:02 +00:00
|
|
|
---
|
|
|
|
|
GNUmakefile | 4 +---
|
|
|
|
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
2021-05-11 13:48:10 +00:00
|
|
|
|
2025-09-02 15:58:02 +00:00
|
|
|
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)
|
2021-05-11 13:48:10 +00:00
|
|
|
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} && \
|
2025-09-02 15:58:02 +00:00
|
|
|
- (cd $${dest} && $(python) -m build && cp dist/*.tar.gz dist/*.whl ..) && \
|
2021-05-11 13:48:10 +00:00
|
|
|
- rm -rf $${dest}
|
|
|
|
|
+ cp -a $(COMMON_FILES) $(PYTHON_PACKAGE_FILES) $${dest}
|
|
|
|
|
|
2025-09-02 15:58:02 +00:00
|
|
|
dist_libstemmer_js: $(JS_SOURCES) $(COMMON_FILES)
|
2021-05-11 13:48:10 +00:00
|
|
|
destname=jsstemmer-$(SNOWBALL_VERSION); \
|
2025-09-02 15:58:02 +00:00
|
|
|
|