X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=37418ee1128a5dbca66fe09ddc445ad7936d9ee0;hb=b48b1a853f10c81757237d28215fed8ec985cb0f;hp=4173412622b25612c363d229af68dbaef9283023;hpb=8584244e3f6df22193e2d0313aa6da464efae1a4;p=live-boot-grml.git diff --git a/debian/rules b/debian/rules index 4173412..37418ee 100755 --- a/debian/rules +++ b/debian/rules @@ -3,24 +3,19 @@ %: 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 + dh_auto_install -- DESTDIR=debian/tmp - mv debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog.casper debian/live-initramfs/usr/share/doc/live-initramfs/changelog.casper + # Removing useless files + rm -f debian/tmp/usr/share/doc/live-boot/COPYING + rm -f debian/lib/live/boot/FIXME - rm -f debian/live-initramfs/usr/share/doc/live-initramfs/COPYING - rm -f debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog + # live-boot-initramfs-tools + mkdir -p debian/live-boot-initramfs-tools/usr/share + mv debian/tmp/usr/share/initramfs-tools debian/live-boot-initramfs-tools/usr/share -override_dh_installchangelogs: - dh_installchangelogs docs/ChangeLog +override_dh_builddeb: + dh_builddeb -- -Zxz -z9 -override_dh_installinit: - dh_installinit --no-restart-on-upgrade --no-start -- start 89 0 6 . +override_dh_install: + dh_install --fail-missing