~ubuntu-branches/ubuntu/lucid/libclass-accessor-grouped-perl/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt, gregor herrmann, Ansgar Burchardt
  • Date: 2008-11-22 22:11:47 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20081122221147-svlt1hfw4sksn7qy
Tags: 0.08002-1
[ gregor herrmann ]
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
  (source stanza).

[ Ansgar Burchardt ]
* New upstream release.
* Convert debian/copyright to proposed machine-readable format.
* Refresh debian/rules for debhelper 7.
* Add myself to Uploaders.
* debian/control: Bump Standards-Version to 3.8.0 (no changes)

[ gregor herrmann ]
* debian/control: remove libmodule-install-perl from Build-Depends-Indep and
  wrap line.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
export PERL_MM_USE_DEFAULT=1
4
 
PACKAGE=$(shell dh_listpackages)
5
 
 
6
 
ifndef PERL
7
 
PERL = /usr/bin/perl
8
 
endif
9
 
 
10
 
TMP     =$(CURDIR)/debian/$(PACKAGE)
11
 
 
12
3
build: build-stamp
13
4
build-stamp:
14
 
        dh_testdir
15
 
        $(PERL) Makefile.PL INSTALLDIRS=vendor
16
 
        $(MAKE)
17
 
        TEST_AUTHOR=1 $(MAKE) test
18
 
        touch build-stamp
 
5
        TEST_AUTHOR=1 dh build
 
6
        touch $@
19
7
 
20
8
clean:
21
 
        dh_testdir
22
 
        dh_testroot
23
 
        dh_clean build-stamp install-stamp
24
 
        [ ! -f Makefile ] || $(MAKE) realclean
 
9
        dh $@
25
10
 
26
11
install: install-stamp
27
12
install-stamp: build-stamp
28
 
        dh_testdir
29
 
        dh_testroot
30
 
        dh_clean -k
31
 
        $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
32
 
        [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
33
 
        touch install-stamp
 
13
        dh install
 
14
        touch $@
34
15
 
35
16
binary-arch:
36
 
# We have nothing to do by default.
37
 
 
38
 
binary-indep: build install
39
 
        dh_testdir
40
 
        dh_testroot
41
 
        dh_installdocs
42
 
        dh_installchangelogs Changes
43
 
        dh_perl
44
 
        dh_compress
45
 
        dh_fixperms
46
 
        dh_installdeb
47
 
        dh_gencontrol
48
 
        dh_md5sums
49
 
        dh_builddeb
50
 
 
51
 
source diff:
52
 
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
53
 
 
54
 
binary: binary-indep binary-arch
55
 
.PHONY: build clean binary-indep binary-arch binary
 
17
 
 
18
binary-indep: install
 
19
        dh $@
 
20
 
 
21
binary: binary-arch binary-indep
 
22
 
 
23
.PHONY: binary binary-arch binary-indep install clean build