~raseel/ubuntu/oneiric/eject/fix-for-795239

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Frank Lichtenheld
  • Date: 2006-09-28 14:30:45 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060928143045-l2bsrc7zu442idt8
Tags: 2.1.4-3
* Acknowledge NMU (Closes: #375536)
* Urgency high to give the thing a chance to make it for
  d-i RC2
* debian/po/gl.po: Add translation by Jacobo Tarrio.
  (Closes: #405402)
* po/pt_BR.po, po/cs_CZ.po, po/tr_TR.po: Add new and
  updated translations from 2.1.5
* debian/copyright: Update URL of project homepage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
12
12
INSTALL_DIR     = $(INSTALL) -p -d -o root -g root  -m  755
13
13
 
 
14
DEB_HOST_ARCH_CPU  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 
15
DEB_HOST_ARCH_OS   ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
16
DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
17
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
18
 
14
19
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
15
20
CFLAGS += -O0
16
21
else
17
 
CFLAGS += -O2
 
22
ifeq ($(DEB_HOST_ARCH_CPU),m68k)
 
23
CFLAGS += -Os
 
24
else
 
25
CFLAGS += -Os -fomit-frame-pointer
 
26
endif
 
27
endif
 
28
 
 
29
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
 
30
cdrom           =       --enable-default-device=acd0
18
31
endif
19
32
 
20
33
deb_dir         =       debian/eject
23
36
 
24
37
build:
25
38
        dh_testdir
26
 
        ./configure --prefix=/usr
27
 
        $(MAKE) AM_CFLAGS= CFLAGS="$(CFLAGS)"
 
39
        ./configure --prefix=/usr --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(cdrom) CFLAGS="$(CFLAGS)"
 
40
        $(MAKE)
28
41
        touch build
29
42
 
30
43
clean: