X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=a5df4d69e44dec5f441101f11a6f1b968f8fe53e;hb=d3f65848c3fd43a5bbb375b1783fa2b9fa6125a6;hp=76b3ce5b5566853b3757d9b77e29db863b004806;hpb=de513c1ecbc4af09481fdd7d2cbbed48ae843c6e;p=live-boot-grml.git diff --git a/debian/rules b/debian/rules index 76b3ce5..a5df4d6 100755 --- a/debian/rules +++ b/debian/rules @@ -1,28 +1,17 @@ #!/usr/bin/make -f -build: - # regular build. - dh build - %: - dh ${@} --parallel + dh ${@} override_dh_auto_install: dh_auto_install -- DESTDIR=debian/tmp # Removing useless files rm -f debian/tmp/usr/share/doc/live-boot-grml/COPYING - rm -f debian/lib/live/boot/FIXME # live-boot-initramfs-tools mkdir -p debian/live-boot-grml-initramfs-tools/usr/share mv debian/tmp/usr/share/initramfs-tools debian/live-boot-grml-initramfs-tools/usr/share - # this is needed because dpatch doesn't do file modes on diffs - # and we can't execute this fix during build stage as new files - # might be installed during dh_quilt_patch - chmod a+rx debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/* - chmod a+rx debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/hooks/* - override_dh_install: dh_install --fail-missing