summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2010-04-18 14:46:31 +0200
committerJulien Cristau <jcristau@debian.org>2010-04-18 14:49:41 +0200
commit842fe3a28c6ec7ae1faa12d169e2629841b92d0a (patch)
tree8f8601850067538e21601cbab3c2b447e3732315 /debian/rules
parent7d04d89fdd6a8eb41570f0dc1acdf094f843702e (diff)
On !linux, install mouse and kbd catchall snippets in the xorg.conf.d directory.
Fixes FTBFS on those archs.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 6cbb19d91..e5685bd4a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -249,6 +249,14 @@ endif
install -m 755 debian/local/xvfb-run debian/tmp/main/usr/bin
install debian/local/xvfb-run.1 debian/tmp/main/usr/share/man/man1
+ifneq ($(DEB_HOST_ARCH_OS), linux)
+ install -d debian/tmp/main/usr/share/X11/xorg.conf.d
+ install -m 644 debian/local/10-*.conf debian/tmp/main/usr/share/X11/xorg.conf.d
+ifeq ($(udeb), yes)
+ install -d debian/tmp/udeb/usr/share/X11/xorg.conf.d
+ install -m 644 debian/local/10-*.conf debian/tmp/udeb/usr/share/X11/xorg.conf.d
+endif
+endif
# stub to start building deb files, used by binary-indep and binary-arch
binary-initial: