~ubuntu-branches/ubuntu/trusty/libcgi-formbuilder-perl/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2010-10-16 16:27:53 UTC
  • Revision ID: james.westby@ubuntu.com-20101016162753-79dudyziuxsr8v1g
Tags: 3.05.01-8
* Shorten Vcs-* stanzas.
* Bump Policy compliance to standards-version 3.9.1.
* Use source format 3.0 (quilt), and ease building with git-
  buildpackage: Git-ignore quilt .pc dir, and add source local-
  options.
* Drop locally included CDBS snippets, and local implementation of
  DEB_MAINTAINER_MODE, all included in main cdbs now.
* Simplify declaring package dependencies in rules file.
* Extend copyright years in rules file, and refer to FSF website (not
  postal address).
* Rewrite copyright file using draft rev135 of DEP5 format.
* Relax build-dependency on cdbs to be unversioned: Required version
  available even in Debian stable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# -*- mode: makefile; coding: utf-8 -*-
3
 
# Copyright © 2003-2009 Jonas Smedegaard <dr@jones.dk>
 
3
# Copyright © 2003-2010 Jonas Smedegaard <dr@jones.dk>
4
4
# Description: Main Debian packaging script for CGI::FormBuilder
5
5
#
6
6
# This program is free software; you can redistribute it and/or
14
14
# General Public License for more details.
15
15
#
16
16
# You should have received a copy of the GNU General Public License
17
 
# along with this program; if not, write to the Free Software
18
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19
 
# 02111-1307 USA.
 
17
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
18
 
21
 
ifneq (,$(DEB_MAINTAINER_MODE))
22
 
  # Enable stuff not policy compliant (eg. unsuitable for build daemons)
23
 
  DEB_COPYRIGHT_CHECK_STRICT = yes
24
 
  DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
25
 
endif
26
 
include debian/cdbs/1/rules/upstream-tarball.mk
27
 
include debian/cdbs/1/rules/copyright-check.mk
28
 
include debian/cdbs/1/rules/buildinfo.mk
 
19
-include /usr/share/cdbs/1/rules/upstream-tarball.mk
 
20
-include /usr/share/cdbs/1/rules/utils.mk
29
21
include /usr/share/cdbs/1/rules/debhelper.mk
30
22
# Put perlmodule.mk after debhelper.mk to dh_clean temp files not in MANIFEST
31
23
include /usr/share/cdbs/1/class/perlmodule.mk
36
28
DEB_UPSTREAM_TARBALL_EXTENSION = tgz
37
29
DEB_UPSTREAM_TARBALL_MD5 = 65646f3064ecaef5e8c1dc38dd7c3807
38
30
 
 
31
# Suppress optional build-dependencies
 
32
CDBS_BUILD_DEPENDS_rules_upstream-tarball =
 
33
CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
 
34
 
39
35
# Preserve upstream cruft
40
36
DEB_CLEAN_EXCLUDE += lib/CGI/FormBuilder.pm.orig t/1a-test05.html~
41
37
 
43
39
        rm -f cgisess_*
44
40
 
45
41
# Needed by upstream build process
46
 
CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libhtml-template-perl (>= 2.6), libtemplate-perl (>= 2.08), libtext-template-perl (>= 1.43), libcgi-session-perl
47
 
 
48
 
# Resolve, cleanup and apply CDBS-declared dependencies
49
 
include debian/cdbs/1/rules/package-relations.mk
 
42
CDBS_BUILD_DEPENDS += , libhtml-template-perl (>= 2.6), libtemplate-perl (>= 2.08), libtext-template-perl (>= 1.43), libcgi-session-perl