~ubuntu-branches/ubuntu/saucy/libxrender/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau, Steve Langasek, Julien Cristau
  • Date: 2011-06-12 10:19:50 UTC
  • Revision ID: james.westby@ubuntu.com-20110612101950-89krfljm47mjz3a5
Tags: 1:0.9.6-2
* Team upload.

[ Steve Langasek ]
* Build for multiarch.

[ Julien Cristau ]
* Add build-arch and (empty) build-indep debian/rules targets.
* Remove David Nusinow, Brice Goglin and Andres Salomon from Uploaders.
* Bump Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        MAKEFLAGS += -j$(NUMJOBS)
24
24
endif
25
25
 
 
26
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
26
27
DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
27
28
DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
28
29
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
33
34
endif
34
35
 
35
36
 
36
 
build: build-stamp
 
37
build: build-arch build-indep
 
38
build-arch: build-stamp
 
39
build-indep:
 
40
.PHONY: build build-arch build-indep
 
41
 
37
42
build-stamp:
38
43
        dh_testdir
39
44
        autoreconf -vfi
40
45
        mkdir -p build
41
46
        cd build && \
42
47
        ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
 
48
                     --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
43
49
                     --infodir=\$${prefix}/share/info $(confflags) \
44
50
                     CFLAGS="$(CFLAGS)" 
45
51
        cd build && $(MAKE)
78
84
        dh_install --sourcedir=debian/tmp --list-missing
79
85
        dh_installchangelogs ChangeLog
80
86
        dh_link
81
 
        dh_strip --dbg-package=$(PACKAGE)-dbg
 
87
        dh_strip -p$(PACKAGE) --dbg-package=$(PACKAGE)-dbg
 
88
        dh_strip -N$(PACKAGE)
82
89
        dh_compress
83
90
        dh_fixperms
84
91
        dh_makeshlibs --add-udeb=$(PACKAGE)-udeb
93
100
# Nothing to do
94
101
 
95
102
binary: binary-indep binary-arch
96
 
.PHONY: build clean binary-indep binary-arch binary install
 
103
.PHONY: clean binary-indep binary-arch binary install