]> git.donarmstrong.com Git - perltidy.git/commitdiff
* Switch to debhelper auto rules
authordon <don@8f7917da-ec0b-0410-a553-b9b0e350d17e>
Fri, 13 Jul 2012 23:50:40 +0000 (23:50 +0000)
committerdon <don@8f7917da-ec0b-0410-a553-b9b0e350d17e>
Fri, 13 Jul 2012 23:50:40 +0000 (23:50 +0000)
* Document VCS location

debian/changelog
debian/compat
debian/control
debian/rules
debian/source/format [new file with mode: 0644]

index e3ecf72c1c017b5efbfda6c6f1e2496e0fce1e9a..e6ebf1b28d7b97b006029cc08f97d32ebb341976 100644 (file)
@@ -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 <don@debian.org>  Fri, 13 Jul 2012 15:00:16 -0700
+ -- Don Armstrong <don@debian.org>  Fri, 13 Jul 2012 16:50:35 -0700
 
 perltidy (20101217-1) unstable; urgency=low
 
index 7813681f5b41c028345ca62a2be376bae70b7f61..ec635144f60048986bc560c5576355344005e6e7 100644 (file)
@@ -1 +1 @@
-5
\ No newline at end of file
+9
index e5b2bc302d3b3171d0be48988a5b08a433846732..54e1b3c23ddd30e326b8d3c93d840ac82a9028f4 100644 (file)
@@ -2,10 +2,13 @@ Source: perltidy
 Section: devel
 Priority: optional
 Maintainer: Don Armstrong <don@debian.org>
-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
index d501387c4c73bbcd1d46f220852a0a55f2004ccb..945a74d4f412cefdaaeccb7ff2c4ee57a932269e 100755 (executable)
@@ -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 (file)
index 0000000..d00491f
--- /dev/null
@@ -0,0 +1 @@
+1