From: Qiang Yu Date: Mon, 6 Aug 2018 03:19:24 +0000 (+0800) Subject: driconf: move ${sysconfdir}/drirc to ${datadir}/drirc.d/00-mesa-defaults.conf X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30b10dbb7c6f6bdf3e489620f8333c727bd3a6dd;p=mesa.git driconf: move ${sysconfdir}/drirc to ${datadir}/drirc.d/00-mesa-defaults.conf ${sysconfdir} is for store admin config files, so move this mesa default config file to ${datadir}/drirc.d. Signed-off-by: Qiang Yu Acked-by: Michel Dänzer Reviewed-by: Emil Velikov --- diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf new file mode 100644 index 00000000000..c4f9e060f3a --- /dev/null +++ b/src/util/00-mesa-defaults.conf @@ -0,0 +1,318 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 8d8c1566e1e..efb94caff71 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -72,7 +72,8 @@ libxmlconfig_la_CFLAGS = \ $(EXPAT_CFLAGS) libxmlconfig_la_LIBADD = $(EXPAT_LIBS) -lm -sysconf_DATA = drirc +drircdir = $(datadir)/drirc.d +drirc_DATA = 00-mesa-defaults.conf u_atomic_test_LDADD = libmesautil.la roundeven_test_LDADD = -lm @@ -84,7 +85,7 @@ TESTS = $(check_PROGRAMS) BUILT_SOURCES = $(MESA_UTIL_GENERATED_FILES) CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = \ - drirc \ + 00-mesa-defaults.conf \ format_srgb.py \ merge_driinfo.py \ SConscript \ diff --git a/src/util/drirc b/src/util/drirc deleted file mode 100644 index c4f9e060f3a..00000000000 --- a/src/util/drirc +++ /dev/null @@ -1,318 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/util/meson.build b/src/util/meson.build index 9740dafae30..a4ff0b92ed6 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -89,7 +89,7 @@ files_mesa_util = files( 'vma.h', ) -install_data('drirc', install_dir : get_option('sysconfdir')) +install_data('00-mesa-defaults.conf', install_dir : join_paths(get_option('datadir'), 'drirc.d')) files_xmlconfig = files( 'xmlconfig.c',