[PATCH xinit 3/3] Makefile.am: Give XINITDIR a default value

Hans de Goede hdegoede at redhat.com
Tue Mar 25 04:56:36 PDT 2014


We are using XINITDIR, but never setting it. Lets give it a sane default.

Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 3867bea..ec8d4cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,8 @@ endif
 bin_PROGRAMS = xinit
 bin_SCRIPTS = startx
 
+XINITDIR = $(sysconfdir)/X11/xinit
+
 AM_CFLAGS = $(CWARNFLAGS) $(XINIT_CFLAGS)
 AM_CPPFLAGS = -DXINITDIR=\"$(XINITDIR)\" -DBINDIR=\"$(bindir)\"
 xinit_LDADD = $(XINIT_LIBS)
-- 
1.9.0



More information about the xorg-devel mailing list