From 2b8895da5eed09ff0a45594fbab4541246a61f68 Mon Sep 17 00:00:00 2001
From: Tobias Stoeckmann <tobias@stoeckmann.org>
Date: Thu, 11 Jan 2024 18:46:01 +0100
Subject: treewide: strictly separate builddir and srcdir

Building outside of source directory fails if --disable-doc is not
explicitly chosen.

This happens because generated files are sometimes expected in the
source directory, where they won't exist.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
---
 modules/pam_group/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'modules/pam_group')

diff --git a/modules/pam_group/Makefile.am b/modules/pam_group/Makefile.am
index af8df4eb..27af9a20 100644
--- a/modules/pam_group/Makefile.am
+++ b/modules/pam_group/Makefile.am
@@ -35,5 +35,5 @@ dist_secureconf_DATA = group.conf
 
 if ENABLE_REGENERATE_MAN
 dist_noinst_DATA = README
--include $(top_srcdir)/Make.xml.rules
+-include $(top_builddir)/Make.xml.rules
 endif
-- 
cgit v1.2.3