From 8584244e3f6df22193e2d0313aa6da464efae1a4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Mar 2010 22:41:26 +0100 Subject: Using minimized rules file. --- debian/bug/live-initramfs.presubj | 11 -------- debian/bug/live-initramfs.script | 13 ---------- debian/control | 2 +- debian/live-initramfs.bug-presubj | 11 ++++++++ debian/live-initramfs.bug-script | 13 ++++++++++ debian/rules | 54 +++++++++------------------------------ 6 files changed, 37 insertions(+), 67 deletions(-) delete mode 100644 debian/bug/live-initramfs.presubj delete mode 100644 debian/bug/live-initramfs.script create mode 100644 debian/live-initramfs.bug-presubj create mode 100644 debian/live-initramfs.bug-script diff --git a/debian/bug/live-initramfs.presubj b/debian/bug/live-initramfs.presubj deleted file mode 100644 index 994219a..0000000 --- a/debian/bug/live-initramfs.presubj +++ /dev/null @@ -1,11 +0,0 @@ -Before submitting a bug report against live-initramfs, please make sure -that you have read your guidlines for Debian Live bug reports: - - http://live.debian.net/manual/html/bugs.html - -By providing the required information as outlined in the guidlines makes -sure that we can optimally reproduce and fix bugs, not doing so wastes a -lot of time for both the maintainers and the submitters. - -Pleae bear in mind that bugs that lack the required information will -likely be ignored when the submitter doesn't follow up to questions. diff --git a/debian/bug/live-initramfs.script b/debian/bug/live-initramfs.script deleted file mode 100644 index d56b035..0000000 --- a/debian/bug/live-initramfs.script +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# Checking depends -dpkg -l busybox file initramfs-tools sudo udev user-setup - -# Checking recommends -dpkg -l eject uuid-runtime wget - -# Checking suggests -dpkg -l loop-aes-utils curlftpfs genext2fs httpfs2 squashfs-tools mtd-tools - -# Checking other packages -dpkg -l cryptsetup splashy usplash diff --git a/debian/control b/debian/control index f8ce250..bc80150 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: misc Priority: optional Maintainer: Debian Live Uploaders: Daniel Baumann -Build-Depends: debhelper (>= 7) +Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: asciidoc, docbook-xsl, xsltproc Standards-Version: 3.8.4 Homepage: http://live.debian.net/devel/live-initramfs/ diff --git a/debian/live-initramfs.bug-presubj b/debian/live-initramfs.bug-presubj new file mode 100644 index 0000000..994219a --- /dev/null +++ b/debian/live-initramfs.bug-presubj @@ -0,0 +1,11 @@ +Before submitting a bug report against live-initramfs, please make sure +that you have read your guidlines for Debian Live bug reports: + + http://live.debian.net/manual/html/bugs.html + +By providing the required information as outlined in the guidlines makes +sure that we can optimally reproduce and fix bugs, not doing so wastes a +lot of time for both the maintainers and the submitters. + +Pleae bear in mind that bugs that lack the required information will +likely be ignored when the submitter doesn't follow up to questions. diff --git a/debian/live-initramfs.bug-script b/debian/live-initramfs.bug-script new file mode 100644 index 0000000..d56b035 --- /dev/null +++ b/debian/live-initramfs.bug-script @@ -0,0 +1,13 @@ +#!/bin/sh + +# Checking depends +dpkg -l busybox file initramfs-tools sudo udev user-setup + +# Checking recommends +dpkg -l eject uuid-runtime wget + +# Checking suggests +dpkg -l loop-aes-utils curlftpfs genext2fs httpfs2 squashfs-tools mtd-tools + +# Checking other packages +dpkg -l cryptsetup splashy usplash diff --git a/debian/rules b/debian/rules index 6094713..4173412 100755 --- a/debian/rules +++ b/debian/rules @@ -1,56 +1,26 @@ #!/usr/bin/make -f -clean: - dh_testdir - dh_testroot - rm -f build-stamp +%: + dh ${@} - $(MAKE) -C manpages clean - - dh_clean - -build: build-stamp -build-stamp: - dh_testdir +override_dh_auto_clean: + $(MAKE) -C manpages +override_dh_auto_build: $(MAKE) -C manpages - touch build-stamp +override_dh_auto_install: + dh_auto_install -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/live-initramfs install - # Installing package - $(MAKE) install DESTDIR=$(CURDIR)/debian/live-initramfs + mv debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog.casper debian/live-initramfs/usr/share/doc/live-initramfs/changelog.casper - # Removing double files rm -f debian/live-initramfs/usr/share/doc/live-initramfs/COPYING rm -f debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog - mv debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog.casper debian/live-initramfs/usr/share/doc/live-initramfs/changelog.casper - # Installing bug control - install -D -m 0644 debian/bug/live-initramfs.presubj debian/live-initramfs/usr/share/bug/live-initramfs/presubj - install -D -m 0755 debian/bug/live-initramfs.script debian/live-initramfs/usr/share/bug/live-initramfs/script - -binary: binary-indep - -binary-arch: - -binary-indep: install - dh_testdir - dh_testroot +override_dh_installchangelogs: dh_installchangelogs docs/ChangeLog - dh_installdocs - dh_install + +override_dh_installinit: dh_installinit --no-restart-on-upgrade --no-start -- start 89 0 6 . - dh_compress - dh_fixperms - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -.PHONY: clean build install binary binary-arch binary-indep -- cgit v1.2.3