~ubuntu-branches/ubuntu/trusty/linux-meta/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-09-30 21:37:20 UTC
  • Revision ID: james.westby@ubuntu.com-20040930213720-vphtacydqzqvoixa
Tags: 2.6.8.1-13
Update linux-<arch> metapackages for amd64 and powerpc to not depend on
linux-restricted-modules, since it doesn't exist for those architectures

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
#
 
3
# debian/rules for kernel-source.
 
4
#
 
5
# GNU copyright 1997 to 1999 by Joey Hess.
 
6
# Copyright (c) 1999-2004 Herbert Xu <herbert@gondor.apana.org.au>
 
7
# Copyright (c) 2004 Jens Schmalzing <jensen@debian.org>
 
8
#
 
9
 
 
10
# This is the debhelper compatability version to use.
 
11
export DH_COMPAT=3
 
12
 
 
13
SHELL := sh -e
 
14
 
 
15
build:
 
16
        dh_testdir
 
17
 
 
18
clean:
 
19
        dh_testdir
 
20
        dh_testroot
 
21
        dh_clean
 
22
 
 
23
install: build
 
24
        dh_testdir
 
25
        dh_testroot
 
26
        dh_clean -k
 
27
 
 
28
# Build architecture-independent files here.
 
29
binary-indep: install
 
30
        dh_testdir
 
31
        dh_testroot
 
32
 
 
33
        dh_installdirs -i
 
34
        dh_installdocs -i
 
35
        dh_installchangelogs -i
 
36
        dh_compress -i
 
37
        dh_fixperms -i
 
38
        dh_installdeb -i
 
39
        dh_gencontrol -i
 
40
        dh_md5sums -i
 
41
        dh_builddeb -i
 
42
 
 
43
# Build architecture-dependent files here.
 
44
binary-arch: install
 
45
        dh_testdir
 
46
        dh_testroot
 
47
 
 
48
        dh_installdirs -s
 
49
        dh_installdocs -s
 
50
        dh_installchangelogs -s
 
51
        dh_compress -s
 
52
        dh_fixperms -s
 
53
        dh_installdeb -s
 
54
        dh_gencontrol -s
 
55
        dh_md5sums -s
 
56
        dh_builddeb -s
 
57
 
 
58
binary: binary-indep binary-arch
 
59
 
 
60
.PHONY: build clean binary-indep binary-arch binary install