From: Rafael Fontenelle Date: Fri, 3 May 2024 18:44:44 -0300 Subject: Set installation root dir from setup.py (cherry picked from commit 823a13f4be0e3fc025717088e02275839aa86a81) Origin: upstream, after 1.5.18 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 4e181de..683d1a6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,7 +63,7 @@ all-local: .stamp-distutils-in-builddir config.py cupshelpers/config.py # Use distutils to install the module. install-exec-local: .stamp-distutils-in-builddir - $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) + $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(DESTDIR)$(prefix) # Uninstall the module, crossing our fingers that we know enough # about how distutils works to do this. Unfortunately, distutils