~ubuntu-branches/ubuntu/quantal/iw/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Kel Modderman, Stefan Lippers-Hollmann, Kel Modderman
  • Date: 2012-05-15 22:17:42 UTC
  • mfrom: (4.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120515221742-zrmkdkwuvs4sgj4k
Tags: 3.4-1
[ Stefan Lippers-Hollmann ]
* New upstream release:
  - iw: add HT options for ibss
* bump standards version to 3.9.3, no changes necessary.
* update dep-5 version to final 1.0, no changes necessary.
* update copyright information.
* convert packaging to Multi-Arch, bump compat level to 9 and adapt debhelper
  build-dependency accordingly; all binaries are Multi-Arch=foreign.
* Remove Faidon Liambotis <paravoid@debian.org> from Uploaders as per
  his request, many thanks for all past efforts Faidon.

[ Kel Modderman ]
* Add support for cross-building by setting CC to something
  appropriate.
* Add append-cppflags.patch to modify upstream Makefile in order to append
  CPPFLAGS to CFLAGS if set in build environment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
export CFLAGS = -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
3
 
export V=1
4
 
export SBINDIR="/sbin/"
 
2
 
 
3
SBINDIR = /sbin
 
4
V       = 1
 
5
 
 
6
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
7
DEB_HOST_GNU_TYPE  := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
8
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 
9
        CC=$(DEB_HOST_GNU_TYPE)-gcc
 
10
endif
 
11
 
 
12
export CC SBINDIR V
5
13
 
6
14
%:
7
15
        dh $@