~ubuntu-branches/ubuntu/utopic/libdbix-xml-rdb-perl/utopic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Axel Beckert, gregor herrmann, Nathan Handler, Ansgar Burchardt, Salvatore Bonaccorso, Axel Beckert
  • Date: 2013-12-15 19:02:33 UTC
  • Revision ID: package-import@ubuntu.com-20131215190233-0fnjxgk3ofvqh0x8
Tags: 0.05-12
* Team upload

[ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
  field (source stanza); Homepage field (source stanza). Removed: XS-
  Vcs-Svn fields.
* Revert changes to inline POD, not needed any more.
* Revert changes to upstream Makefile.PL: the module gets installed anyway,
  and we handle the scripts via debian/rules.
* Remove debian/libdbix-xml-rdb-perl.*, let debian/rules do the job.
* Refresh debian/rules, no functional changes, except: drop README.
* Set Standards-Version to 3.7.3 (no changes).
* debian/watch: use dist-based URL.
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
  (source stanza).
* debian/control: Added: ${misc:Depends} to Depends: field.

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

[ gregor herrmann ]
* Change my email address.

[ Ansgar Burchardt ]
* debian/control: Convert Vcs-* fields to Git.

[ Salvatore Bonaccorso ]
* Change Vcs-Git to canonical URI (git://anonscm.debian.org)
* Change search.cpan.org based URIs to metacpan.org based URIs

[ Axel Beckert ]
* Fix lintian warning binary-control-field-duplicates-source (2x)
* Switch to source format "3.0 (quilt)"
* Bump debhelper compatibility to 9
  + Update versioned debhelper build-dependency accordingly
* Revamp debian/rules
  + Fix lintian warning debian-rules-missing-recommended-target
  + Replace "dh_clean -k" with "dh_prep"
  + Use dh_auto_{configure,build,test,install,clean}
  + Move dh_installexamples parameter to debian/examples and remove
    examples from other locations.
  + Remove obsolete /usr/lib/perl5 handling.
  + Remove obsolete stamp file parameters from dh_clean.
  + Remove obsolete parameter from dh_installchangelogs.
  + Remove obsolete variables.
  + Finally switch to a minimal dh-style debian/rules file.
* Apply wrap-and-sort
* Bump Standards-Version to 3.9.5 (no further changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
## ----------------------------------------------------------------------
3
 
## debian/rules : package script for libdbix-xml-rdb-perl
4
 
## ----------------------------------------------------------------------
5
2
 
6
 
## ----------------------------------------------------------------------
7
 
## uncomment this to turn on verbose mode
 
3
# Uncomment this to turn on verbose mode.
8
4
#export DH_VERBOSE=1
9
5
 
10
 
## ----------------------------------------------------------------------
11
 
TMP_DIR         = debian/tmp
12
 
 
13
 
## ----------------------------------------------------------------------
14
 
## targets
15
 
 
16
 
clean:
17
 
                dh_testdir
18
 
                dh_testroot
19
 
                [ ! -f Makefile ] || $(MAKE) realclean
20
 
                dh_clean
21
 
                rm -f build-stamp install-stamp
22
 
 
23
 
build:          build-stamp
24
 
build-stamp:
25
 
                dh_testdir
26
 
                perl Makefile.PL INSTALLDIRS=vendor
27
 
                $(MAKE) OPTIMIZE="-O2 -g -Wall"
28
 
                $(MAKE) test
29
 
                touch build-stamp
30
 
 
31
 
install:        install-stamp
32
 
install-stamp:  build
33
 
                dh_testdir
34
 
                dh_testroot
35
 
                dh_clean -k
36
 
                dh_installdirs
37
 
                $(MAKE) install PREFIX=$(CURDIR)/$(TMP_DIR)/usr
38
 
                touch install-stamp
39
 
 
40
 
binary-indep:   build install
41
 
                dh_testdir
42
 
                dh_testroot
43
 
                dh_install --sourcedir=$(TMP_DIR)
44
 
                dh_installdocs
45
 
                dh_installexamples
46
 
                dh_installchangelogs Changes
47
 
                dh_compress
48
 
                dh_fixperms
49
 
                dh_installdeb
50
 
                dh_perl
51
 
                dh_gencontrol
52
 
                dh_md5sums
53
 
                dh_builddeb
54
 
 
55
 
binary-arch:
56
 
 
57
 
binary:         binary-indep binary-arch
58
 
 
59
 
.PHONY:         clean build install binary-indep binary-arch binary
60
 
 
61
 
## ----------------------------------------------------------------------
 
6
TMP     = $(CURDIR)/debian/libdbix-xml-rdb-perl
 
7
 
 
8
%:
 
9
        dh $@
 
10
 
 
11
override_dh_auto_install:
 
12
        dh_auto_install
 
13
        # Remove examples from other locations
 
14
        $(RM) -rvf $(TMP)/usr/share/perl5/DBIx/*.pl $(TMP)/usr/bin