File: rules

package info (click to toggle)
libwacom 0.32-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,660 kB
  • sloc: ansic: 3,958; python: 235; makefile: 126; sh: 9
file content (24 lines) | stat: -rwxr-xr-x 595 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
#!/usr/bin/make -f

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

override_dh_install:
	find debian/tmp -name '*.la' -delete
	mkdir -p debian/tmp/lib/udev/rules.d/
	build/tools/generate-udev-rules > debian/tmp/lib/udev/rules.d/65-libwacom.rules
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -plibwacom2 -V --add-udeb="libwacom2-udeb" -- -c4

override_dh_strip:
	dh_strip --dbg-package=libwacom2-dbg
	dh_strip -plibwacom-bin

%:
	dh $@ --builddirectory=build/