File: rules

package info (click to toggle)
xserver-xorg-input-keyboard 1%3A1.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, stretch, trixie
  • size: 1,976 kB
  • ctags: 556
  • sloc: ansic: 4,443; sh: 4,103; makefile: 57
file content (26 lines) | stat: -rwxr-xr-x 729 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules

# Install in debian/tmp to retain control through dh_install:
override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

# Kill *.la files, and forget no-one:
override_dh_install:
	find debian/tmp -name '*.la' -delete
	dh_install --fail-missing
ifeq (kfreebsd, $(DEB_HOST_ARCH_OS))
	dh_install -pxserver-xorg-input-kbd debian/local/10-x11-kbd.fdi \
		usr/share/hal/fdi/policy/20thirdparty
endif

# That's a plugin, use appropriate warning level:
override_dh_shlibdeps:
	dh_shlibdeps -- --warnings=6

%:
	dh $@ --with quilt,autoreconf,xsf --builddirectory=build/