File: generic-rules

package info (click to toggle)
kernel-wedge 2.102
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 380 kB
  • sloc: perl: 570; sh: 262; makefile: 21
file content (31 lines) | stat: -rwxr-xr-x 573 bytes parent folder | download | duplicates (8)
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