r56330 - in /trunk/dh-make-perl: .gitignore Makefile debian/changelog

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Apr 17 19:42:36 UTC 2010


Author: dmn
Date: Sat Apr 17 19:42:28 2010
New Revision: 56330

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56330
Log:
add a Makefile

This should help executing common tasks like building a tarball for CPAN
or running the test suite

Added:
    trunk/dh-make-perl/Makefile
Modified:
    trunk/dh-make-perl/.gitignore
    trunk/dh-make-perl/debian/changelog

Modified: trunk/dh-make-perl/.gitignore
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/.gitignore?rev=56330&op=diff
==============================================================================
--- trunk/dh-make-perl/.gitignore (original)
+++ trunk/dh-make-perl/.gitignore Sat Apr 17 19:42:28 2010
@@ -1,5 +1,4 @@
 META.yml
-Makefile
 Makefile.old
 cover_db
 blib

Added: trunk/dh-make-perl/Makefile
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/Makefile?rev=56330&op=file
==============================================================================
--- trunk/dh-make-perl/Makefile (added)
+++ trunk/dh-make-perl/Makefile Sat Apr 17 19:42:28 2010
@@ -1,0 +1,28 @@
+#!/usr/bin/make -f
+
+PERL ?= /usr/bin/perl
+
+Build: Build.PL
+	$(PERL) $<
+
+all: build
+
+build install test manifest: Build
+	./Build $@
+
+orig:
+	[ ! -e debian/rules ] || $(MAKE) -f debian/rules clean
+	$(MAKE) Build
+	./Build $@
+
+dist: manifest
+	./Build $@
+
+clean:
+	[ ! -e Build ] || ./Build $@
+
+realclean distclean: clean
+	[ ! -e MANIFEST ] || rm MANIFEST
+	[ ! -e META.yml ] || rm META.yml
+
+# vim: noet

Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=56330&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Sat Apr 17 19:42:28 2010
@@ -24,6 +24,8 @@
     alternative dependencies.
     Closes: #548367 -- detect alternative dependencies; Thanks to Slaven Rezic
   * refresh: keep current source format unless --source-format is given
+  * add a Makefile to help executing common tasks like building a tarball for
+    CPAN and running the test suite
 
  -- Damyan Ivanov <dmn at debian.org>  Tue, 09 Mar 2010 08:46:09 +0200
 




More information about the Pkg-perl-cvs-commits mailing list