From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca@debian.org>
Date: Thu, 13 Mar 2025 08:25:04 +0100
Subject: install-layout=deb

---
 build/linux/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in
index 45eca43..7106a70 100644
--- a/build/linux/Makefile.in
+++ b/build/linux/Makefile.in
@@ -497,7 +497,7 @@ install-python: py
 	build $(PYBUILDER_BUILD_FLAGS) \
 	egg_info --egg-base=$(abs_top_builddir)/python \
 	$(patsubst %,add_extra_lib --file=%,$(PYPKGDATA)) \
-	install $(patsubst %,--root=%,$(DESTDIR)) --install-base=@prefix@/python --install-headers=@prefix@/python --install-purelib=@prefix@/python --install-platlib=@prefix@/python --install-scripts=@prefix@/python --install-data=@prefix@/python --old-and-unmanageable --no-compile
+	install $(patsubst %,--root=%,$(DESTDIR)) --install-base=@prefix@/python --install-headers=@prefix@/python --install-purelib=@prefix@/python --install-platlib=@prefix@/python --install-scripts=@prefix@/python --install-data=@prefix@/python --old-and-unmanageable --no-compile --install-layout=deb
 # TODO: docs
 
 install-python-site-packages: py
@@ -508,7 +508,7 @@ install-python-site-packages: py
 	build $(PYBUILDER_BUILD_FLAGS) \
 	egg_info --egg-base=$(abs_top_builddir)/python \
 	$(patsubst %,add_extra_lib --file=%,$(PYPKGDATA)) \
-	install $(patsubst %,--root=% --single-version-externally-managed,$(DESTDIR))
+	install $(patsubst %,--root=% --single-version-externally-managed,$(DESTDIR)) --install-layout=deb
 python-wheel: py
 # Note: setting CC to CXX is intentional. Python uses CC for compilation even if input is C++.
 	cd $(srcdir)/../../python; $(PYBUILDERENV) \
