| 1 |
From: Rafael Fontenelle <[email protected]> |
| 2 |
Date: Fri, 3 May 2024 18:44:44 -0300 |
| 3 |
Subject: Set installation root dir from setup.py |
| 4 |
|
| 5 |
(cherry picked from commit 823a13f4be0e3fc025717088e02275839aa86a81) |
| 6 |
|
| 7 |
Origin: upstream, after 1.5.18 |
| 8 |
--- |
| 9 |
Makefile.am | 2 +- |
| 10 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 |
|
| 12 |
diff --git a/Makefile.am b/Makefile.am |
| 13 |
index 4e181de..683d1a6 100644 |
| 14 |
--- a/Makefile.am |
| 15 |
+++ b/Makefile.am |
| 16 |
@@ -63,7 +63,7 @@ all-local: .stamp-distutils-in-builddir config.py cupshelpers/config.py |
| 17 |
|
| 18 |
# Use distutils to install the module. |
| 19 |
install-exec-local: .stamp-distutils-in-builddir |
| 20 |
- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) |
| 21 |
+ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(DESTDIR)$(prefix) |
| 22 |
|
| 23 |
# Uninstall the module, crossing our fingers that we know enough |
| 24 |
# about how distutils works to do this. Unfortunately, distutils |