[PATCH input-synaptics 7/7] Add distcheck support for configuration files when dir is not writable

Gaetan Nadon memsize at videotron.ca
Thu Jun 30 10:02:01 PDT 2011


Provide a user writable location for configuration files.
Many values will work, but preserving the semantic by using
a value based on the server default value is more helpful.

The configdir automake variable and the pkgconfig sysconfigdir variable
should not be confused with the sysconfdir automake provided
configuration option which default value is $prefix/etc.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index b6e15cd..6fdd067 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,9 @@
 
 # During distcheck, system locations (as provided by pkg-config) may
 # not be writable; provide instead relative locations.
-DISTCHECK_CONFIGURE_FLAGS = --with-sdkdir='$${includedir}/xorg'
+DISTCHECK_CONFIGURE_FLAGS = \
+	--with-sdkdir='$${includedir}/xorg' \
+	--with-xorg-conf-dir='$${datadir}/X11/xorg.conf.d'
 
 SUBDIRS = include src man tools conf test
 MAINTAINERCLEANFILES = ChangeLog INSTALL
-- 
1.7.4.1



More information about the xorg-devel mailing list