~ubuntu-branches/ubuntu/oneiric/libconvert-pem-perl/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jose Luis Rivas, gregor herrmann, Nathan Handler, Jose Luis Rivas
  • Date: 2010-12-25 15:58:17 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101225155817-mgdr457j5e61tvem
Tags: 0.08-1
[ gregor herrmann ]
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
  (source stanza).

[ Nathan Handler ]
* debian/watch: Update to ignore development releases.

[ gregor herrmann ]
* Change my email address.

[ Jose Luis Rivas ]
* New upstream release.
* debian/control: 
        + Added myself to uploaders field.
  + Refreshed.
  + Bumped to Standards-Version 3.9.1 by removing versioned perl and 
  versioning debhelper >= 7.
* debian/compat,copyright: refreshed.
* debian/rules: refreshed to tiny version using DH7.
* debian/libconvert-pem-perl.docs: Added.
* Switch to dpkg-source 3.0 (quilt) format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# This debian/rules file is provided as a template for normal perl
3
 
# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for
4
 
# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
5
 
# be used freely wherever it is useful.
6
 
 
7
 
# Uncomment this to turn on verbose mode.
8
 
#export DH_VERBOSE=1
9
 
 
10
 
# If set to a true value then MakeMaker's prompt function will
11
 
# always return the default without waiting for user input.
12
 
export PERL_MM_USE_DEFAULT=1
13
 
 
14
 
PACKAGE=$(shell dh_listpackages)
15
 
 
16
 
ifndef PERL
17
 
PERL = /usr/bin/perl
18
 
endif
19
 
 
20
 
TMP     =$(CURDIR)/debian/$(PACKAGE)
21
 
 
22
 
build: build-stamp
23
 
build-stamp:
24
 
        dh_testdir
25
 
        $(PERL) Makefile.PL INSTALLDIRS=vendor
26
 
        $(MAKE)
27
 
        $(MAKE) test
28
 
        touch build-stamp
29
 
 
30
 
clean:
31
 
        dh_testdir
32
 
        dh_testroot
33
 
        dh_clean build-stamp install-stamp
34
 
        [ ! -f Makefile ] || $(MAKE) realclean
35
 
 
36
 
install: install-stamp
37
 
install-stamp: build-stamp
38
 
        dh_testdir
39
 
        dh_testroot
40
 
        dh_clean -k
41
 
        $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
42
 
 
43
 
        # As this is a architecture independent package, we are not
44
 
        # supposed to install stuff to /usr/lib. MakeMaker creates
45
 
        # the dirs, we delete them from the deb:
46
 
        [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
47
 
 
48
 
        touch install-stamp
49
 
 
50
 
binary-arch:
51
 
# We have nothing to do by default.
52
 
 
53
 
binary-indep: build install
54
 
        dh_testdir
55
 
        dh_testroot
56
 
        dh_installdocs
57
 
        dh_installchangelogs Changes
58
 
        dh_perl
59
 
        dh_compress
60
 
        dh_fixperms
61
 
        dh_installdeb
62
 
        dh_gencontrol
63
 
        dh_md5sums
64
 
        dh_builddeb
65
 
 
66
 
source diff:
67
 
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
68
 
 
69
 
binary: binary-indep binary-arch
70
 
.PHONY: build clean binary-indep binary-arch binary
 
2
 
 
3
%:
 
4
        dh $@