summaryrefslogtreecommitdiffstats
path: root/xorg
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2014-06-29 00:31:42 +0900
committerKoichiro IWAO <meta@vmeta.jp>2014-06-29 00:31:42 +0900
commit9b218be9c11562538690b0c0a4c220e7978c1e74 (patch)
tree4e67b8d8c207d7fe7ac52f6732db93e68c238399 /xorg
parentaa35a327528c507505de33496dd214c40675fd6e (diff)
downloadxrdp-proprietary-9b218be9c11562538690b0c0a4c220e7978c1e74.tar.gz
xrdp-proprietary-9b218be9c11562538690b0c0a4c220e7978c1e74.zip
xorg: get xorg module directory via pkg-config
Diffstat (limited to 'xorg')
-rw-r--r--xorg/server/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/xorg/server/Makefile b/xorg/server/Makefile
index 1aed58ad..2ea7ec0a 100644
--- a/xorg/server/Makefile
+++ b/xorg/server/Makefile
@@ -1,3 +1,4 @@
+moduledir := $(shell pkg-config xorg-server --variable moduledir)
all: allmake
@@ -27,7 +28,7 @@ xinstall:
cp xrdpkeyb/xrdpkeyb_drv.so $(HOME)/xorg-modules/input/
install:
- install --mode=0644 --strip module/libxorgxrdp.so /usr/lib/xorg/modules
- install --mode=0644 --strip xrdpdev/xrdpdev_drv.so /usr/lib/xorg/modules/drivers
- install --mode=0644 --strip xrdpmouse/xrdpmouse_drv.so /usr/lib/xorg/modules/input
- install --mode=0644 --strip xrdpkeyb/xrdpkeyb_drv.so /usr/lib/xorg/modules/input
+ 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