File: rules

package info (click to toggle)
hal 0.5.14-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,212 kB
  • ctags: 4,854
  • sloc: ansic: 60,732; xml: 16,387; sh: 11,366; makefile: 1,111; cpp: 292
file content (39 lines) | stat: -rwxr-xr-x 1,629 bytes parent folder | download
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
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/utils.mk

# List any files which are not installed
include /usr/share/cdbs/1/rules/utils.mk
common-binary-post-install-arch:: list-missing

DEB_CONFIGURE_EXTRA_FLAGS := --with-pid-file=/var/run/hald/hald.pid \
                             --with-hwdata=/usr/share/misc \
                             --without-macbook \
                             --without-macbookpro \
                             --disable-policy-kit \
                             --disable-console-kit \
                             --disable-smbios \
                             --disable-acl-management \
                             --enable-umount-helper \
                             --enable-docbook-docs \
                             --without-keymaps \
                             --docdir=/usr/share/doc/hal-doc \
                             --with-udev-prefix=/lib

DEB_DH_INSTALLINIT_ARGS := -- start 24 2 3 4 5 . stop 16 1 .

install/hal::
	# Remove executable bit as this is nothing that can be executed
	chmod -x $(DEB_DESTDIR)/usr/lib/hal/scripts/hal-functions
	# Don't install 10-x11-input.fdi until xorg input hotplugging is fixed to 
	# properly support non-US keyboard layouts (see also: #442316). 
	rm -f $(DEB_DESTDIR)/usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi

binary-install/hal::
	# Only install udev rules on Linux architectures. The
	# directory doesn't even exist on e.g. GNU/kFreeBSD
ifeq ($(DEB_HOST_ARCH_OS),linux)
	dh_install -phal debian/tmp/lib/udev/rules.d/
endif