~peter-pearse/ubuntu/oneiric/wget/prop001

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-09 17:15:56 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080609171556-cgor46l12f53v5iq
Tags: 1.11.3-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Add wget-udeb to ship wget.gnu as alternative to busybox wget
    implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# Sample debian/rules that uses debhelper.
3
 
# GNU copyright 1997 to 1999 by Joey Hess.
4
2
 
5
3
# Uncomment this to turn on verbose mode.
6
4
#export DH_VERBOSE=1
7
5
 
8
6
include /usr/share/dpatch/dpatch.make
9
7
 
 
8
DEB_HOST_GNU_TYPE ?=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
9
DEB_BUILD_GNU_TYPE ?=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
10
 
 
11
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 
12
confflags= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 
13
else
 
14
confflags= --build $(DEB_BUILD_GNU_TYPE)
 
15
endif
 
16
 
10
17
config.status: patch-stamp
11
18
        dh_testdir
12
19
        # Add here commands to configure the package.
16
23
                        --infodir=\$${prefix}/share/info \
17
24
                        --sysconfdir=/etc \
18
25
                        --enable-ipv6 \
19
 
                        --with-ssl
 
26
                        --with-ssl $(confflags)
20
27
 
21
28
        touch configure-stamp
22
29