summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-03-14 22:41:26 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:07 +0100
commit8584244e3f6df22193e2d0313aa6da464efae1a4 (patch)
treea8e54695740906be288be9c440c6eebd0d1b6f92 /debian
parentc21ed18e2b876dd325788b0a203a43f97cfd7b6f (diff)
downloadlive-boot-8584244e3f6df22193e2d0313aa6da464efae1a4.tar.gz
live-boot-8584244e3f6df22193e2d0313aa6da464efae1a4.zip
Using minimized rules file.
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rw-r--r--debian/live-initramfs.bug-presubj (renamed from debian/bug/live-initramfs.presubj)0
-rw-r--r--debian/live-initramfs.bug-script (renamed from debian/bug/live-initramfs.script)0
-rwxr-xr-xdebian/rules54
4 files changed, 13 insertions, 43 deletions
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 <debian-live@lists.debian.org>
Uploaders: Daniel Baumann <daniel@debian.org>
-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/bug/live-initramfs.presubj b/debian/live-initramfs.bug-presubj
index 994219a..994219a 100644
--- a/debian/bug/live-initramfs.presubj
+++ b/debian/live-initramfs.bug-presubj
diff --git a/debian/bug/live-initramfs.script b/debian/live-initramfs.bug-script
index d56b035..d56b035 100644
--- a/debian/bug/live-initramfs.script
+++ b/debian/live-initramfs.bug-script
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