From d2a7c38dfcc0b97472748ae3362e25073dab483f Mon Sep 17 00:00:00 2001 From: don Date: Fri, 13 Jul 2012 23:50:40 +0000 Subject: [PATCH] * Switch to debhelper auto rules * Document VCS location --- debian/changelog | 4 ++- debian/compat | 2 +- debian/control | 9 ++++-- debian/rules | 75 +++----------------------------------------- debian/source/format | 1 + 5 files changed, 15 insertions(+), 76 deletions(-) create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog index e3ecf72..e6ebf1b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,10 @@ perltidy (20120701-1) unstable; urgency=low * New upstream release + Don't munge contents of __DATA__ even when they look like POD (closes: #614288) + * Switch to debhelper auto rules + * Document VCS location - -- Don Armstrong Fri, 13 Jul 2012 15:00:16 -0700 + -- Don Armstrong Fri, 13 Jul 2012 16:50:35 -0700 perltidy (20101217-1) unstable; urgency=low diff --git a/debian/compat b/debian/compat index 7813681..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 \ No newline at end of file +9 diff --git a/debian/control b/debian/control index e5b2bc3..54e1b3c 100644 --- a/debian/control +++ b/debian/control @@ -2,10 +2,13 @@ Source: perltidy Section: devel Priority: optional Maintainer: Don Armstrong -Build-Depends: debhelper (>= 5) -Build-Depends-Indep: perl (>= 5.6.0-16) -Standards-Version: 3.9.1 +Build-Depends: debhelper (>= 9) +Build-Depends-Indep: perl +Standards-Version: 3.9.3 Homepage: http://perltidy.sourceforge.net/ +Vcs-Svn: svn://svn.donarmstrong.com/deb_pkgs/perltidy/trunk +Vcs-Browser: http://websvn.donarmstrong.com/deb_pkgs/perltidy/trunk + Package: perltidy Architecture: all diff --git a/debian/rules b/debian/rules index d501387..945a74d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,74 +1,7 @@ #!/usr/bin/make -f -#-*- makefile -*- -# Made with the aid of dh_make, by Craig Small -# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. -# Some lines taken from debmake, by Christoph Lameter. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +%: + dh $@ -PACKAGE=$(shell dh_listpackages) - -ifndef PERL -PERL = /usr/bin/perl -endif - -TMP =`pwd`/debian/$(PACKAGE) - -build: build-stamp -build-stamp: - dh_testdir - - $(PERL) Makefile.PL INSTALLDIRS=vendor - $(MAKE) OPTIMIZE="-O2 -g -Wall" - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - if [ -e Makefile ]; then \ - $(MAKE) distclean;\ - rm -f Makefile;\ - fi - - dh_clean - -install: - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - $(MAKE) install DESTDIR=$(TMP) - [ ! -d $(TMP)/usr/lib/perl5 ] || \ - rmdir -p --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5 - - - -# Build architecture-dependent files here. -binary-arch: build install -# We have nothing to do by default. - -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_installdocs BUGS TODO README examples/README docs/README - dh_installexamples examples/* - dh_installmenu - dh_installcron - dh_installman - dh_installchangelogs CHANGES - dh_compress - dh_fixperms - dh_installdeb - dh_perl - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary +override_dh_installexamples: + dh_installexamples examples/* \ No newline at end of file diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1 -- 2.39.2