~ubuntu-branches/ubuntu/raring/ace-of-penguins/raring-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Jari Aalto
  • Date: 2012-02-06 16:05:56 UTC
  • mfrom: (5.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20120206160556-qegswov1mibagu1z
Tags: 1.3-6
* debian/compat
  - Update to 9.
* debian/debian-compile.mk
  - Remove. No longer needed.
* debian/control
  - (Build-Depends): Update to debhelper 9, dpkg-dev 1.16.1.
* debian/rules
  - Use hardened CFLAGS (release goal).
    http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags
* debian/patches
  - (45): libpng 1.5 transition. Patch thanks to Nobuhiro Iwamatsu
    <iwamatsu@nigauri.org> (FTBFS; Closes: #635741).

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
CONFFLAGS = --prefix=/usr --bindir=/usr/games
24
24
 
25
25
include debian/debian-vars.mk
26
 
include debian/debian-compile.mk
 
26
 
 
27
# NOTE: The sources won't compile with -pedantic
 
28
include /usr/share/dpkg/buildflags.mk
 
29
CFLAGS  += -Wall
 
30
LDFLAGS += -Wl,--as-needed
27
31
 
28
32
MANDIR = $(MANROOTDIR)/man6
29
33
 
79
83
        dh_clean
80
84
 
81
85
override_dh_auto_configure:
82
 
        ./configure $(CONFFLAGS)
 
86
        ./configure $(CONFFLAGS) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
83
87
 
84
88
override_dh_auto_build: build-man
85
89
        # # Compile the package