~ubuntu-branches/ubuntu/intrepid/libwww-perl/intrepid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2008-04-16 16:36:16 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080416163616-06kg47nxqi6xrwts
Tags: 5.812-1
New upstream release, fixes the SSL regression (closes: #476390).

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# Make sure perl is defined (allow overriding from the command line
14
14
PERL ?= /usr/bin/perl
15
15
 
16
 
include /usr/share/quilt/quilt.make
17
 
 
18
16
TMP = $(CURDIR)/debian/$(PACKAGE)
19
17
 
20
18
binary: binary-indep binary-arch
24
22
binary-indep: build install
25
23
        dh_testdir
26
24
        dh_testroot
27
 
        dh_installdocs
 
25
        dh_installdocs README README.SSL
28
26
        dh_installchangelogs Changes
29
27
        dh_link
30
28
        dh_compress
36
34
        dh_builddeb
37
35
 
38
36
build: build-stamp
39
 
build-stamp: $(QUILT_STAMPFN)
 
37
build-stamp:
40
38
        dh_testdir
41
 
        $(PERL) Makefile.PL INSTALLDIRS=vendor \
42
 
                INSTALLVENDORARCH=/usr/share/perl5/ \
43
 
                VENDORARCHEXP=/usr/share/perl5/
 
39
        $(PERL) Makefile.PL INSTALLDIRS=vendor
44
40
        $(MAKE)
45
41
        # Turn off the live checks
46
42
        if [ -f t/live/ENABLED ]; then rm t/live/ENABLED; fi
48
44
        $(MAKE) test
49
45
        touch build-stamp
50
46
 
51
 
clean: unpatch
 
47
clean:
52
48
        dh_testdir
53
49
        dh_testroot
54
50
        dh_clean build-stamp install-stamp
58
54
install-stamp: build-stamp
59
55
        dh_testdir
60
56
        $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
57
        [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
61
58
 
62
59
        touch install-stamp
63
60