From 7ba03425e52c02731253946000d053d46ca167bb Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Sun, 29 Jun 2014 00:37:29 +0900 Subject: [PATCH] xorg: respect DESTDIR variable for packaging --- xorg/server/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xorg/server/Makefile b/xorg/server/Makefile index 2ea7ec0a..e5ae5771 100644 --- a/xorg/server/Makefile +++ b/xorg/server/Makefile @@ -28,7 +28,8 @@ xinstall: cp xrdpkeyb/xrdpkeyb_drv.so $(HOME)/xorg-modules/input/ install: - install --mode=0644 --strip module/libxorgxrdp.so $(moduledir) - install --mode=0644 --strip xrdpdev/xrdpdev_drv.so $(moduledir)/drivers - install --mode=0644 --strip xrdpmouse/xrdpmouse_drv.so $(moduledir)/input - install --mode=0644 --strip xrdpkeyb/xrdpkeyb_drv.so $(moduledir)/input + install --directory $(DESTDIR)$(moduledir) + install --mode=0644 --strip module/libxorgxrdp.so $(DESTDIR)$(moduledir) + install --mode=0644 --strip xrdpdev/xrdpdev_drv.so $(DESTDIR)$(moduledir)/drivers + install --mode=0644 --strip xrdpmouse/xrdpmouse_drv.so $(DESTDIR)$(moduledir)/input + install --mode=0644 --strip xrdpkeyb/xrdpkeyb_drv.so $(DESTDIR)$(moduledir)/input