[debsums] 01/01: Move most stuff from debian/rules to Makefile

Axel Beckert abe at deuxchevaux.org
Wed Mar 25 21:52:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository debsums.

commit 34cbedb341c14ab59b50444fb985f8d1ea6da044
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Mar 25 22:50:32 2015 +0100

    Move most stuff from debian/rules to Makefile
    
    Maybe we should move to a more perlish build system, but then again,
    there's not much to build anyways.
---
 Makefile         | 15 +++++++++++++++
 debian/changelog |  1 +
 debian/rules     | 10 ----------
 3 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e362509
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+all: build
+
+build:
+	@echo debsums has nothing to build.
+
+install:
+	touch debian/debsums/etc/debsums-ignore
+	cd man && po4a --rm-backups po4a.cfg
+
+clean:
+	cd man && po4a --no-translations --rm-backups po4a.cfg
+
+test:
+	prove -v
+
diff --git a/debian/changelog b/debian/changelog
index e4af500..7fcb890 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,7 @@ debsums (2.1~dev) UNRELEASED; urgency=medium
     + Exit with highest exit code of any of its child debsums processes
       exited. (Closes: #711560)
   * Add simple test suite
+  * Move most stuff from debian/rules to Makefile.
 
   [ Andreas Beckmann ]
   * Fix accessing files in the host root filesystem (/) while checking an
diff --git a/debian/rules b/debian/rules
index 4338967..5f27f90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,15 +5,5 @@
 %:
 	dh $@
 
-override_dh_auto_install:
-	touch debian/debsums/etc/debsums-ignore
-	cd man && po4a --rm-backups po4a.cfg
-
-override_dh_auto_clean:
-	cd man && po4a --no-translations --rm-backups po4a.cfg
-
-override_dh_auto_test:
-	prove -v
-
 override_dh_installman:
 	dh_installman `find man -type f -name '*.[18]'`

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git



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