summaryrefslogtreecommitdiffstats
path: root/generic-rules
blob: 6ef826362570cc5d13e9395f5d384499bfe06a49 (plain)
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
#!/usr/bin/make -f
# Generic rules file for kernel-wedge using packages.
# Just include it into your own rules file.

export DH_COMPAT=7

debian/control:
	kernel-wedge gen-control > debian/control

build: debian/control
	dh_testdir

clean: debian/control
	dh_testdir
	dh_clean `find modules -type l`

binary-indep:

binary-arch: debian/control
	dh_testdir
	dh_prep
	
	kernel-wedge install-files
	kernel-wedge check

	dh_fixperms -s
	dh_gencontrol -s
	dh_builddeb -s

binary: build binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary debian/control