~ubuntu-branches/ubuntu/vivid/edbrowse/vivid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Kapil Hari Paranjape
  • Date: 2009-03-01 16:55:12 UTC
  • mfrom: (1.1.5 upstream) (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090301165512-97yhte20cy3c4q2w
Tags: 3.4.1-1
* New upstream version (3.4.1).
* debian/rules:
  - add "touch build-stamp" to build-stamp target.
  - modify clean target to use clean target in src/makefile.
  - remove debian/edbrowse.1 in clean target.
  - added "-lcurl" to linker flags.
* debian/control:
  - added libcurl4-openssl-dev to Build-Depends
  - Standards Version 3.8.0. No changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
# Correct upstream's variables for Debian names
20
20
CFLAGS += -I/usr/include/mozjs -DXP_UNIX
21
 
LIBS = -lpcre -lssl -lmozjs
 
21
LIBS = -lpcre -lssl -lmozjs -lcurl 
22
22
# Avoid stripping binaries LFLAGS is upstream's name
23
23
# for additional linking flags!
24
24
LFLAGS = ""
26
26
build: build-stamp
27
27
build-stamp:
28
28
        dh_testdir
29
 
        $(MAKE) CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LFLAGS="$(LFLAGS)"
 
29
        $(MAKE) -C src CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LFLAGS="$(LFLAGS)" edbrowse
30
30
        # minor fix required for upstream man page
31
31
        sed -e's;^\.\.\(.\);.\1;' -e's;^ \.;.;' < doc/man-edbrowse-debian.1 > debian/edbrowse.1
 
32
        touch build-stamp
32
33
 
33
34
clean:
34
35
        dh_testdir
35
36
        dh_testroot
36
37
        rm -f build-stamp
37
 
        rm -f *.o edbrowse
 
38
        rm -f debian/edbrowse.1
 
39
        $(MAKE) -C src clean
38
40
        dh_clean
39
41
 
40
42
install: build