~ubuntu-branches/ubuntu/quantal/libsamplerate/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Erik de Castro Lopo
  • Date: 2012-03-11 16:39:18 UTC
  • mfrom: (4.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20120311163918-vumzrzmpat3tcy3u
Tags: 0.1.8-4
* debian/control:
  - Standards version 3.9.2 (no changes needed).
  - Use Replaces instead of Replaces/Breaks (Closes: #657414).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
12
12
DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
13
13
 
14
 
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
15
 
        CFLAGS += -g
16
 
endif
17
14
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
18
15
        INSTALL_PROGRAM += -s
19
16
endif
20
17
 
21
18
config.status: configure
22
19
        dh_testdir
23
 
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
20
        ./configure  $(shell dpkg-buildflags --export=configure) \
 
21
                --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
 
22
                --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
 
23
                --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
24
24
 
25
25
 
26
26
build: patch build-stamp
62
62
        dh_testdir
63
63
        dh_testroot
64
64
        dh_install -a --sourcedir=debian/tmp --list-missing
65
 
 
66
 
        # This line can be removed when the man page get pushed upstream.
67
 
        dh_installman -a -psamplerate-programs debian/sndfile-resample.1
68
 
 
 
65
        dh_installman
69
66
        dh_installdocs -a
70
67
        dh_installexamples -a
71
68
        dh_installchangelogs -a ChangeLog