~ubuntu-branches/ubuntu/jaunty/dnstracer/jaunty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Seyrat
  • Date: 2008-02-28 14:10:25 UTC
  • mfrom: (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080228141025-zowdwpjuyj0g10ot
Tags: 1.9-1
* New upstream release (closes: #463919)
* Bumped Standards-Version to 3.7.3
* Bumped debhelper compat level to 5
* Removed debian/dnstracer.dirs and dh_installman call
* Added config.{sub,guess} update commands during clean target of
  debian/rules
* Added dpkg-architecture-generated --{build,host} configure script
  arguments in debian/rules
* Patched usage in dnstracer.c claming to be 1.8.1 instead of 1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# Uncomment this to turn on verbose mode.
3
3
# export DH_VERBOSE=1
4
 
export DH_COMPAT=3
 
4
 
 
5
export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
6
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
7
 
 
8
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
 
9
        confflags += --build $(DEB_HOST_GNU_TYPE)
 
10
else
 
11
        confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 
12
endif   
5
13
 
6
14
config.status:
7
15
        dh_testdir
8
 
        ./configure --prefix=/usr --mandir=\$${prefix}/share/man
 
16
        ./configure $(confflags) --prefix=/usr --mandir=\$${prefix}/share/man
9
17
 
10
18
build: build-stamp
11
19
 
15
23
        touch build-stamp
16
24
 
17
25
clean:
 
26
        -test -r /usr/share/misc/config.sub && \
 
27
                cp -f /usr/share/misc/config.sub config.sub
 
28
        -test -r /usr/share/misc/config.guess && \
 
29
                cp -f /usr/share/misc/config.guess config.guess
18
30
        dh_testdir
19
31
        dh_testroot
20
32
        rm -f build-stamp
35
47
        dh_testdir
36
48
        dh_testroot
37
49
        dh_installdocs README CONTACT
38
 
        dh_installman dnstracer.8
39
50
        dh_installchangelogs CHANGES
40
51
        dh_strip
41
52
        dh_compress