File: rules

package info (click to toggle)
kernel-patch-2.4.27-m68k 2.4.27-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 292 kB
  • ctags: 8
  • sloc: perl: 262; makefile: 28
file content (45 lines) | stat: -rwxr-xr-x 855 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
41
42
43
44
45
#!/usr/bin/make -f
#                                             -*- makefile -*-
# debian/rules file for the Debian/GNU Linux kernel-patch package
# Copyright 2002 by Nick Holgate <holgate@debian.org>
#

ARCH	:= m68k
VERSION := 2.4.27

build:
	dh_testdir

clean:
	dh_testdir
	dh_testroot
	dh_clean

# Build architecture-independent files here.
binary-indep:
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	cp -a $(ARCH) debian/tmp/usr/src/kernel-patches/$(ARCH)
	dh_installdocs
	dh_installchangelogs
#	dh_strip -v
	dh_compress
	dh_fixperms
	dh_installdeb
#	dh_shlibdeps
	dh_perl
	dh_gencontrol
	dh_md5sums
	dh_builddeb

# Build architecture-dependent files here.
binary-arch:

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 build