X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=e57bdbcf56bdfe3cbe100b3d91c4ec8a75dcfefb;hb=a9ddc0ac5a7d752ba93cf6fc838db9ec09fc85aa;hp=bcd2d2d930680fd7304aa983ddcb23ca7e27795c;hpb=6fc8f78d026b31f4f4a3ee6507d726ddc37adbc8;p=live-boot-grml.git diff --git a/debian/rules b/debian/rules index bcd2d2d..e57bdbc 100755 --- a/debian/rules +++ b/debian/rules @@ -1,19 +1,25 @@ #!/usr/bin/make -f +include /usr/share/dpatch/dpatch.make + +build: patch-stamp + dh build + +clean: unpatch + dh clean + %: dh ${@} -override_dh_auto_build: - # disabled - override_dh_auto_install: - $(MAKE) DESTDIR=$(CURDIR)/debian/live-boot install - - mkdir -p debian/live-boot-initramfs-tools/usr/share - mv debian/live-boot/usr/share/initramfs-tools debian/live-boot-initramfs-tools/usr/share + dh_auto_install -- DESTDIR=debian/live-boot # Removing useless files rm -f debian/live-boot/usr/share/doc/live-boot/COPYING + # 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 -p live-boot --no-restart-on-upgrade --no-start --update-rcd-params='start 89 0 6 .'