File: rules

package info (click to toggle)
libwacom 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,176 kB
  • sloc: ansic: 4,955; python: 347; makefile: 147; sh: 121
file content (23 lines) | stat: -rwxr-xr-x 500 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
#!/usr/bin/make -f

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dudev-dir=/lib/udev \
		-Dtests=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),dis,en)abled

override_dh_install:
	find debian/tmp -name '*.la' -delete
	rm -rf debian/tmp/usr/share/libwacom/__pycache__
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_strip:
	dh_strip --dbgsym-migration='libwacom2-dbg (<< 1.1-2~)'
	dh_strip -plibwacom-bin

%:
	dh $@ \
		--builddirectory=build/ \
		--buildsystem=meson