File: rules

package info (click to toggle)
xtrx-dkms 0.0.1%2Bgit20190320.5ae3a3e-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 136 kB
  • sloc: ansic: 1,204; makefile: 28; xml: 23
file content (26 lines) | stat: -rwxr-xr-x 412 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
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --with dkms

override_dh_dkms:
	dh_install \
		Makefile \
		xtrx.c \
		xtrx_defs.h \
		xtrxll_regs.vh \
		usr/src/xtrx-$(DEB_VERSION)
	dh_dkms -V $(DEB_VERSION)

override_dh_installudev:
	cp 50-xtrx.rules debian/udev
	dh_installudev --priority=50

override_dh_clean:
	rm -f debian/udev
	dh_clean

override_dh_auto_clean:
override_dh_auto_build: