~ubuntu-branches/ubuntu/saucy/pixman/saucy-security

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-09-28 18:12:47 UTC
  • mfrom: (1.1.8 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090928181247-3iehog63i50htejf
Tags: 0.16.2-1
* New upstream release (closes: #546849).
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
include /usr/share/quilt/quilt.make
 
4
 
3
5
PACKAGE = libpixman-1-0
4
 
SHLIBS_VERSION = 0.13.2
 
6
SHLIBS_VERSION = 0.15.16
5
7
 
6
8
CFLAGS = -Wall -g
7
 
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 
9
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
8
10
        CFLAGS += -O0
9
11
else
10
12
        CFLAGS += -O2
11
13
endif
12
 
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
13
 
        INSTALL_PROGRAM += -s
 
14
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 
15
        NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 
16
        MAKEFLAGS += -j$(NUMJOBS)
14
17
endif
15
18
 
16
19
DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
23
26
endif
24
27
 
25
28
autogen: autogen-stamp
26
 
autogen-stamp:
 
29
autogen-stamp: $(QUILT_STAMPFN)
27
30
        dh_testdir
28
31
        autoreconf -vfi
29
32
        touch $@
37
40
          --prefix=/usr \
38
41
          --mandir=\$${prefix}/share/man \
39
42
          --infodir=\$${prefix}/share/info \
40
 
          --disable-arm-simd \
41
43
          $(confflags) \
42
44
          CFLAGS="$(CFLAGS)"
43
45
        touch $@
50
52
        
51
53
        touch $@
52
54
 
53
 
clean:
 
55
clean: unpatch
54
56
        dh_testdir
55
57
        dh_testroot
56
58
        rm -f autogen-stamp config-stamp build-stamp install-stamp
89
91
        dh_compress
90
92
        dh_fixperms
91
93
        dh_makeshlibs -p$(PACKAGE) --add-udeb $(PACKAGE)-udeb -V"$(PACKAGE) (>= $(SHLIBS_VERSION))"
 
94
        dh_installdeb
92
95
        dh_shlibdeps
93
 
        dh_installdeb
94
96
        dh_gencontrol
95
97
        dh_md5sums
96
98
        dh_builddeb