diff options
author | Egbert Eich <eich@freedesktop.org> | 2011-05-19 09:33:02 +0200 |
---|---|---|
committer | Egbert Eich <eich@freedesktop.org> | 2013-01-03 13:34:29 -0500 |
commit | 59c27f9ab0b881e875ca39b8ce81f57d768f8a99 (patch) | |
tree | 6e17ab0bf0d150e1e873fdfee0a6c0e0b1523d12 | |
parent | 11d60dbe2012ffdf3acdc9f1b859ac6b102f4eab (diff) |
install: Use sysconfdir instead of libdir for config files.
Most X packages today install their config files in sysconfigdir,
only a few are left which still put their configuration in libdir.
Fix and consolidate setting of the config dir in one place.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 569dc59..4872f40 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,12 +19,14 @@ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. +configdir = $(sysconfdir)/X11/lbxproxy + bin_PROGRAMS = lbxproxy AM_CFLAGS = $(CWARNFLAGS) AM_CPPFLAGS = $(LBXPROXY_CFLAGS) $(OS_CFLAGS) -I$(top_srcdir)/include \ - -DDEF_ATOMS_FILE=\"$(libdir)/X11/lbxproxy/AtomControl\" \ + -DDEF_ATOMS_FILE=\"$(configdir)/AtomControl\" \ -D_BSD_SOURCE -DLBXPROXY_t -DTRANS_SERVER lbxproxy_LDADD = $(LBXPROXY_LIBS) @@ -83,7 +85,6 @@ lbxproxy_SOURCES = \ appman_PRE = \ lbxproxy.man -configdir = $(libdir)/X11/lbxproxy dist_config_DATA = config/AtomControl EXTRA_DIST = \ |