diff options
author | Daniel Baumann <daniel@debian.org> | 2010-03-14 22:41:26 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:07 +0100 |
commit | 8584244e3f6df22193e2d0313aa6da464efae1a4 (patch) | |
tree | a8e54695740906be288be9c440c6eebd0d1b6f92 /debian/rules | |
parent | c21ed18e2b876dd325788b0a203a43f97cfd7b6f (diff) | |
download | live-boot-8584244e3f6df22193e2d0313aa6da464efae1a4.tar.gz live-boot-8584244e3f6df22193e2d0313aa6da464efae1a4.zip |
Using minimized rules file.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 54 |
1 files changed, 12 insertions, 42 deletions
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 |