~ubuntu-branches/ubuntu/natty/inetutils/natty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Nick Ellery
  • Date: 2008-12-22 22:22:00 UTC
  • mfrom: (4.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20081222222200-s5qlnhc9hmv1mbo8
Tags: 2:1.5.dfsg.1-9ubuntu1
* Merge from debian unstable, remaining changes (LP: #311085):
  - debian/patches/53_NULL_undeclared.patch:
    + Explicitly include stdlib.h for gcc 4.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
#
3
 
# $Id: rules 202 2008-04-11 05:04:54Z guillem $
 
3
# $Id: rules 222 2008-12-18 06:01:46Z guillem $
4
4
#
5
5
 
6
6
DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
140
140
        dh_install -a --sourcedir=$(D)
141
141
        # Install ping6 only if built
142
142
        if [ -x $(D)/usr/bin/ping6 ]; then \
143
 
          cp $(D)/usr/bin/ping6 \
144
 
             $(CURDIR)/debian/inetutils-ping/bin/; \
 
143
          cp -a $(D)/usr/bin/ping6 \
 
144
                $(CURDIR)/debian/inetutils-ping/bin/; \
145
145
        fi
146
146
        # This should use the new dh_lintian instead
147
147
        cp $(CURDIR)/debian/inetutils-ping.overrides \