X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=455ed48f99ab26d4f9d1bb443bc170af917ad3bf;hb=8f1c52f198d4f59482d74cf6efc4029173ae1c34;hp=4173412622b25612c363d229af68dbaef9283023;hpb=8584244e3f6df22193e2d0313aa6da464efae1a4;p=live-boot-grml.git diff --git a/debian/rules b/debian/rules index 4173412..455ed48 100755 --- a/debian/rules +++ b/debian/rules @@ -3,24 +3,15 @@ %: dh ${@} -override_dh_auto_clean: - $(MAKE) -C manpages - -override_dh_auto_build: - $(MAKE) -C manpages - override_dh_auto_install: - dh_auto_install - - $(MAKE) DESTDIR=$(CURDIR)/debian/live-initramfs install - - mv debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog.casper debian/live-initramfs/usr/share/doc/live-initramfs/changelog.casper + dh_auto_install -- DESTDIR=debian/live-boot - rm -f debian/live-initramfs/usr/share/doc/live-initramfs/COPYING - rm -f debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog + # Removing useless files + rm -f debian/live-boot/usr/share/doc/live-boot/COPYING -override_dh_installchangelogs: - dh_installchangelogs docs/ChangeLog + # live-boot-initramfs-tools + mkdir -p debian/live-boot-initramfs-tools/usr/share + mv debian/live-boot/usr/share/initramfs-tools debian/live-boot-initramfs-tools/usr/share override_dh_installinit: - dh_installinit --no-restart-on-upgrade --no-start -- start 89 0 6 . + dh_installinit -p live-boot --no-restart-on-upgrade --no-start --update-rcd-params='start 89 0 6 .'