~ubuntu-branches/ubuntu/wily/tcc/wily-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Thomas Preud'homme
  • Date: 2012-06-13 22:31:30 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120613223130-14dujlcw1bj70jrh
Tags: 0.9.26~git20120612.ad5f375-3
* debian/patches:
  + Disable the new callsave_test test on arm since it uses alloca which is
    not supported on arm (yet).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
# Uncomment this to turn on verbose mode.
4
 
#export DH_VERBOSE=1
5
 
 
6
 
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
7
 
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
8
 
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
9
 
 
10
 
DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
3
override_dh_auto_configure:
 
4
        dh_auto_configure -- --tccdir=../tcc
11
5
 
12
6
override_dh_auto_clean:
13
7
        [ ! -f config.mak ] || dh_auto_clean
14
8
 
15
 
override_dh_auto_configure:
16
 
        ./configure --prefix=/usr \
17
 
                --tccdir=../tcc \
18
 
                --docdir=/usr/share/doc/tcc \
19
 
                --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
20
 
                --crtprefix=/usr/lib/$(DEB_HOST_MULTIARCH) \
21
 
                --sysincludepaths=/usr/local/include:/usr/include/$(DEB_HOST_MULTIARCH):/usr/include:{B}/include \
22
 
                --libpaths=/usr/lib/$(DEB_HOST_MULTIARCH):/usr/lib:/lib/$(DEB_HOST_MULTIARCH):/lib:/usr/local/lib
23
 
 
24
9
clean:
25
10
        rm -f build
26
11
        dh clean