~ubuntu-branches/debian/stretch/dkms/stretch

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Giuseppe Iuculano, David Paleino, Giuseppe Iuculano
  • Date: 2010-01-27 10:02:27 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100127100227-p8fawacw9e4e2spw
Tags: 2.1.1.1-1
[ David Paleino ]
* [19ac85e] Added DKMS debhelper script (Closes: #553665)

[ Giuseppe Iuculano ]
* [9d66264] Imported Upstream version 2.1.1.1
* [0735c11] Removed 01_upstart.patch
* [ec26539] Merge from Ubuntu: Remove the init script and Upstart job.
  There is no reason that DKMS needs to run on boot; you can build
  modules for non-running kernels just fine at installation time.
* [48ff9a4] Correct a minor shell error in dkms_autoinstaller
* [5c76a45] Fixed a minor spelling error in dh_dkms man page
* [c611461] debian/preinst: Use set -e

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
include /usr/share/quilt/quilt.make
10
10
 
 
11
dh_dkms.1: debian/scripts/dh_dkms
 
12
        pod2man \
 
13
                --center "DKMS Debhelper" \
 
14
                --release $(CURVER) \
 
15
                $< > debian/scripts/$@
 
16
 
11
17
build: build-stamp
12
18
build-stamp: $(QUILT_STAMPFN)
13
19
        dh_testdir
17
23
        dh_testdir
18
24
        dh_testroot
19
25
        rm -f build-stamp configure-stamp
20
 
        [ ! -f Makefile ] || $(MAKE) clean-dpkg
 
26
        [ ! -f Makefile ] || $(MAKE) clean
21
27
        dh_clean 
22
28
 
23
29
install: build
26
32
        dh_prep 
27
33
        dh_installdirs
28
34
        $(MAKE) install-debian DESTDIR=$(CURDIR)/debian/dkms
 
35
        dh_install
29
36
        
30
37
binary-arch: build install
31
38
binary-indep: build install
34
41
        dh_installchangelogs 
35
42
        dh_installdocs AUTHORS debian/HOWTO.Debian
36
43
        dh_installexamples
37
 
        dh_installinit -r --name dkms_autoinstaller --update-rcd-params="start 20 2 3 4 5 ."
38
44
        dh_installman
39
45
        dh_link
40
46
        dh_strip