~ubuntu-branches/ubuntu/saucy/net-tools/saucy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2011-10-21 14:05:37 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20111021140537-3vyoq2o15seoi4bn
Tags: 1.60-24.1ubuntu1
* Merge from debian unstable.  Remaining changes:
  Ubuntu_unit_conversion.patch:
    - the diff-style patch was converted into quilt format
    - Ubuntu Policy: output using standard SI unit multiples:
      KB (10^3), MB (10^6), GB (10^9), TB (10^12) and PB (10^15).
      Includes manpage update to remove comment about IEC units.
      LP: #240073.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
14
14
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
15
15
 
 
16
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 
17
CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc
 
18
else
 
19
CROSS=
 
20
endif
 
21
 
16
22
configure: configure-stamp
17
23
configure-stamp: $(QUILT_STAMPFN)
18
24
        [ ! -f config.make ] || mv config.make debian/config.make.bk
25
31
build: build-stamp
26
32
build-stamp: configure-stamp
27
33
        dh_testdir
28
 
        $(MAKE) PROGS="ifconfig arp netstat route rarp slattach plipconfig \
 
34
        $(MAKE) $(CROSS) PROGS="ifconfig arp netstat route rarp slattach plipconfig \
29
35
                nameif iptunnel ipmaddr mii-tool"
30
36
        touch $@
31
37