~ubuntu-branches/ubuntu/jaunty/edbrowse/jaunty-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Kapil Hari Paranjape
  • Date: 2007-08-09 06:53:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070809065342-wuh00kziocot1w0e
Tags: 3.2.1-2
* debian/edbrowse.1:
  - Corrected author's address.
  - Put sourceforge as the upstream web address.
* debian/watch: Added URL to track upstream versions.
* debian/control: Added XS-Vcs-Svn tag.
* debian/compat: Added this file instead of DH_COMPAT line in
  debian/rules.
* debian/rules:
  - Commented out DH_COMPAT line
  - Added definition of LFLAGS to prevent stripping of compiled
    binary if "nostrip" is defined. Closes: #436780.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#export DH_VERBOSE=1
7
7
 
8
8
# This is the debhelper compatibility version to use.
9
 
export DH_COMPAT=4
 
9
# This line moved to debian/compat
 
10
#export DH_COMPAT=4
10
11
 
11
12
CFLAGS = -g
12
13
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
18
19
# Correct upstream's variables for Debian names
19
20
CFLAGS += -I/usr/include/mozjs -DXP_UNIX
20
21
LIBS = -lpcre -lssl -lmozjs
21
 
 
 
22
# Avoid stripping binaries LFLAGS is upstream's name
 
23
# for additional linking flags!
 
24
LFLAGS = ""
22
25
 
23
26
build: build-stamp
24
27
build-stamp:
25
28
        dh_testdir
26
 
        $(MAKE) CFLAGS="$(CFLAGS)" LIBS="$(LIBS)"
 
29
        $(MAKE) CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LFLAGS="$(LFLAGS)"
27
30
 
28
31
clean:
29
32
        dh_testdir