summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2009-04-21 00:55:05 +0200
committermaximilian attems <maks@debian.org>2010-03-24 05:49:00 +0100
commitb5c928d159623f617f872323b7064ebfbf19a269 (patch)
tree6a3b39b4ac489307dc4c652715231aefc083851f
parent2a49aa8a48994806b96003b7ef702d8b5d3f4825 (diff)
downloadinitramfs-tools-b5c928d159623f617f872323b7064ebfbf19a269.tar.gz
initramfs-tools-b5c928d159623f617f872323b7064ebfbf19a269.zip
switch from cdbs to debhelper 7
newest debhelper makefile is short and quick. inspiration from /usr/share/doc/debhelper/examples/rules.tiny. also drop useless pre-build rule, which seems to stem from old bzr. it was an vcs that didn't keep the permissions. Signed-off-by: maximilian attems <maks@debian.org>
-rw-r--r--debian/compat2
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules10
3 files changed, 4 insertions, 10 deletions
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index 57f990e..6580c78 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: utils
Priority: optional
Uploaders: maximilian attems <maks@debian.org>
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
-Build-Depends: debhelper (>= 5.0), cdbs
+Build-Depends: debhelper (>= 7.0)
Standards-Version: 3.8.4
Vcs-Browser: http://git.debian.org/?p=kernel/initramfs-tools.git
Vcs-Git: git://git.debian.org/git/kernel/initramfs-tools.git
diff --git a/debian/rules b/debian/rules
index 1376aa9..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,4 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/debhelper.mk
-
-pre-build::
- chmod +x init mkinitramfs
- chmod +x hooks/*
- for x in `find scripts/ kernel/ -maxdepth 1 -type d | tail -n+2`; do \
- chmod -R +x $$x; \
- done
+%:
+ dh $@