Description: Fix build failure with new version of setuptools
 Files get installed in /usr/local.
Author: Valentin Vidic <vvidic@debian.org>
Last-Update: 2022-10-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile.am
+++ b/Makefile.am
@@ -69,6 +69,7 @@
 	$(PYTHON) $(srcdir)/setup.py install \
 		--root $(DESTDIR)/// \
 		$(python_prefix) \
+		--install-layout=deb \
 		--record $(DESTDIR)$(pkgpythondir)/install_files.txt \
 		--verbose
 	$(INSTALL) -d -m 770 $(DESTDIR)$(CRM_CACHE_DIR)
