File: rules

package info (click to toggle)
kernel-patch-2.2.17-m68k 2.2.17-0potato1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,328 kB
  • ctags: 2
  • sloc: perl: 106; makefile: 33
file content (49 lines) | stat: -rwxr-xr-x 888 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
46
47
48
49
#!/usr/bin/make -f
#                                             -*- makefile -*-
# debian/rules file for the Debian/GNU Linux kernel-patch package
# Copyright 1997-99 by Hartmut Koptein <koptein@debian.org>

#export DH_VERBOSE=1

package = kernel-patch-m68k

# Rrrrrr
arch=m68k

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

clean:
	dh_testdir
	dh_testroot
	-rm -f build-stamp
	dh_clean

binary-indep:	build

binary-arch:	build
	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

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