summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 85ac851c059d5b486f328c5414776c8c7e429ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DH_VERBOSE=1

VERSION	:= $(shell dpkg-parsechangelog -S Version | sed 's/-.*//')

%:
	dh $* --parallel --with dkms

override_dh_install:
	dh_install mali-midgard-$(VERSION) usr/src/
	find debian/mali-midgard-dkms/usr/src -type f -perm -5 -print0 2>/dev/null | xargs -0r chmod a-X

override_dh_dkms:
	dh_dkms -V $(VERSION)

# not much to do really ;-)
override_dh_auto_configure override_dh_auto_build override_dh_auto_test override_dh_auto_install override_dh_auto_clean: