~ubuntu-branches/debian/sid/xdigger/sid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Amaya Rodrigo Sastre
  • Date: 2006-07-28 12:19:08 UTC
  • mfrom: (3.1.2 dapper)
  • Revision ID: james.westby@ubuntu.com-20060728121908-u5lgdr0glszhpgx0
Tags: 1.0.10-10
Updated standards version, no changes needed. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# Uncomment this to turn on verbose mode.
6
6
#export DH_VERBOSE=1
7
7
 
 
8
# This is the debhelper compatability version to use.
 
9
export DH_COMPAT=4
 
10
 
 
11
CFLAGS += -g -Wall -DUSE_STDARG
 
12
ifneq ($(findstring noopt,$(DEB_BUILD_OPTIONS)),)
 
13
CFLAGS += -O0
 
14
else
 
15
CFLAGS += -O2
 
16
endif
 
17
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 
18
INSTALL_PROGRAM += -s
 
19
endif
 
20
 
 
21
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
22
 
 
23
# Enable -DUSE_STDARG for all archs, as it seems needed.
 
24
#ifneq (,$(findstring powerpc,$(DEB_HOST_ARCH)))
 
25
#CFLAGS += -DUSE_STDARG
 
26
#endif
 
27
 
 
28
export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
29
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
30
 
 
31
 
 
32
 
8
33
build: build-stamp
9
34
build-stamp:
10
35
        dh_testdir
68
93
#       dh_perl
69
94
#       dh_python
70
95
#       dh_makeshlibs
 
96
        install -d debian/xdigger/usr/share/lintian/overrides
 
97
        cp debian/lintian-override debian/xdigger/usr/share/lintian/overrides/xdigger
 
98
        install -d debian/xdigger/usr/share/linda/overrides
 
99
        cp debian/linda-override debian/xdigger/usr/share/linda/overrides/
71
100
        dh_installdeb
72
101
        dh_shlibdeps
73
102
        dh_gencontrol