~ubuntu-branches/ubuntu/oneiric/libogg/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Steve Langasek
  • Date: 2011-08-12 18:35:02 UTC
  • mfrom: (14.1.2 multiarch)
  • Revision ID: vorlon@debian.org-20110812183502-b99ni28jhnarqa9f
merge multiarch support

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
        INSTALL_PROGRAM += -s
23
23
endif
24
24
 
 
25
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
25
26
DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
26
27
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
27
28
 
42
43
        mkdir -p $(objdir)
43
44
        cd $(objdir) && ../configure --host=$(DEB_HOST_GNU_TYPE)        \
44
45
                                     --build=$(DEB_BUILD_GNU_TYPE)      \
 
46
                                     --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
45
47
                                     --enable-static                    \
46
48
                                     --prefix=/usr
47
49