~ubuntu-branches/ubuntu/quantal/liblockfile/quantal-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Miquel van Smoorenburg
  • Date: 2011-08-12 09:27:57 UTC
  • Revision ID: james.westby@ubuntu.com-20110812092757-qykq7ux8nlf49amc
Tags: 1.09-2
* fix debian/files botchup (fixes: #637465)
* fix more lintian warnings and errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
18
18
 
19
 
build:  config.status
 
19
build-arch:     config.status
20
20
        $(checkdir)
21
21
        make
22
22
        touch build
23
23
 
 
24
build-indep:
 
25
 
24
26
config.status:
25
27
        ./configure --enable-shared --prefix=/usr \
26
28
                --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
39
41
        #       First, liblockfile.so.1
40
42
        #
41
43
        rm -rf $(tmp)*
42
 
        rm -f debian/substvars debian/files
43
44
        install -d -o root -m 755 $(tmp)
44
45
        install -d -o root -m 755 $(tmp)/DEBIAN
45
46
        install -d -o root -m 755 $(tmp)/usr/lib
68
69
        #       Build liblockfile-bin
69
70
        #
70
71
        rm -rf $(tmp)*
71
 
        rm -f debian/substvars debian/files
 
72
        rm -f debian/substvars
72
73
        install -d -o root -m 755 $(tmp)
73
74
        install -d -o root -m 755 $(tmp)/DEBIAN
74
75
        install -d -o root -m 755 $(tmp)/usr/bin
97
98
        #       Build liblockfile-dev
98
99
        #
99
100
        rm -rf $(tmp)*
100
 
        rm -f debian/substvars debian/files
 
101
        rm -f debian/substvars
101
102
        install -d -o root -m 755 $(tmp)
102
103
        install -d -o root -m 755 $(tmp)/DEBIAN
103
104
        install -d -o root -m 755 $(tmp)/usr/lib
136
137
 
137
138
binary: binary-indep binary-arch
138
139
 
 
140
build:  build-indep build-arch
 
141
 
139
142
checkroot:
140
143
        $(checkdir)
141
144
        test root = "`whoami`"
142
145
 
143
 
.PHONY: config build clean binary binary-arch binary-indep
 
146
.PHONY: config clean build build-arch build-indep binary binary-arch binary-indep
 
147