[PATCH xserver 4/7] hw/xquartz: add missing destdir

Mihail Konev k.mvc at ya.ru
Sat Apr 1 06:52:11 UTC 2017


Signed-off-by: Mihail Konev <k.mvc at ya.ru>
---
This allows running "make distcheck" as a non-root.

(Although the resulting DESTDIR includes the path to source tree *twice* ;)

 hw/xquartz/mach-startup/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xquartz/mach-startup/Makefile.am b/hw/xquartz/mach-startup/Makefile.am
index 77962b14d19c..17f0b9d4ddc4 100644
--- a/hw/xquartz/mach-startup/Makefile.am
+++ b/hw/xquartz/mach-startup/Makefile.am
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = $(DIX_CFLAGS)
 
-x11appdir = $(APPLE_APPLICATIONS_DIR)/$(APPLE_APPLICATION_NAME).app/Contents/MacOS
+x11appdir = $(DESTDIR)$(APPLE_APPLICATIONS_DIR)/$(APPLE_APPLICATION_NAME).app/Contents/MacOS
 x11app_PROGRAMS = X11.bin
 
 dist_X11_bin_SOURCES = \
-- 
2.9.2



More information about the xorg-devel mailing list