~ubuntu-branches/ubuntu/edgy/libxpm/edgy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Parra Novo
  • Date: 2006-07-07 17:17:09 UTC
  • Revision ID: james.westby@ubuntu.com-20060707171709-3rl3yutfv3gkawmu
Tags: 1:3.5.4.2-3ubuntu1
* Manual sync from Debian (same orig.tar.gz, different md5sum)
* Dropped APP_MAN_SUFFIX changes (they must be implemented correctly and
  directly in Debian)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# debian/rules for the Debian libxpm package.
3
3
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
4
4
# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
 
5
# Copyright © 2005 David Nusinow <dnusinow@debian.org>
5
6
 
6
7
# Uncomment this to turn on verbose mode.
7
8
#export DH_VERBOSE=1
9
10
# set this to the name of the main shlib's binary package
10
11
PACKAGE = libxpm4
11
12
 
 
13
include debian/xsfbs/xsfbs.mk
 
14
 
12
15
CFLAGS = -Wall -g
13
16
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
14
17
        CFLAGS += -O0
35
38
 
36
39
        mkdir obj-$(DEB_BUILD_GNU_TYPE)
37
40
        cd obj-$(DEB_BUILD_GNU_TYPE) && \
38
 
        APP_MAN_SUFFIX=1 ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
 
41
        ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
39
42
                     --infodir=\$${prefix}/share/info $(confflags) \
40
43
                     CFLAGS="$(CFLAGS)" 
41
44
        cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
75
78
        dh_strip --dbg-package=$(PACKAGE)
76
79
        dh_compress
77
80
        dh_fixperms
 
81
        dh_makeshlibs
 
82
        dh_shlibdeps
78
83
        dh_installdeb
79
 
        dh_shlibdeps
80
 
        dh_makeshlibs
81
84
        dh_gencontrol
82
85
        dh_md5sums
83
86
        dh_builddeb