File: rules

package info (click to toggle)
kernel-patch-2.2.18-openwall 1.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 116 kB
  • ctags: 23
  • sloc: ansic: 194; sh: 55; makefile: 32
file content (40 lines) | stat: -rwxr-xr-x 832 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
38
39
40
#! /usr/bin/make -f

build: build-stamp
build-stamp:
	dh_testdir
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	dh_clean

binary-indep:   build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	mkdirhier debian/tmp/usr/src/kernel-patches/all/apply
	mkdirhier debian/tmp/usr/src/kernel-patches/all/unpatch
	cp apply/* debian/tmp/usr/src/kernel-patches/all/apply
	cp unpatch/* debian/tmp/usr/src/kernel-patches/all/unpatch
	cp linux-2.2.18-ow1.diff debian/tmp/usr/src/kernel-patches/all
	dh_installdocs
	dh_installchangelogs
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:    build

binary: binary-arch binary-indep

source diff:
	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

.PHONY: binary binary-arch binary-indep clean checkroot