File: rules

package info (click to toggle)
libinput 1.16.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,356 kB
  • sloc: ansic: 81,339; python: 2,465; sh: 178; makefile: 27; cpp: 7
file content (37 lines) | stat: -rwxr-xr-x 856 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
#!/usr/bin/make -f

override_dh_auto_configure:
	dh_auto_configure -B build-deb -- \
		-Ddocumentation=false \
		-Dudev-dir=/lib/udev

	dh_auto_configure -B build-udeb -- \
		-Ddocumentation=false \
		-Dudev-dir=/lib/udev \
		-Dlibwacom=false

override_dh_auto_build:
	dh_auto_build -B build-deb
	dh_auto_build -B build-udeb

override_dh_auto_install:
	dh_auto_install -B build-deb --destdir=debian/tmp/main
	dh_auto_install -B build-udeb --destdir=debian/tmp/udeb

override_dh_install:
	find debian/tmp -name '*.la' -delete
	dh_install -plibinput10-udeb --sourcedir=debian/tmp/udeb
	dh_install --remaining-packages --sourcedir=debian/tmp/main

override_dh_missing:
	dh_missing --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -plibinput10 -V --add-udeb="libinput10-udeb" -- -c4

override_dh_clean:
	rm -f doc/doxygen_sqlite3.db
	dh_clean

%:
	dh $@