Rename packages to not clash with upstream
[live-boot-grml.git] / debian / rules
1 #!/usr/bin/make -f
2
3 build:
4         # this is needed because dpatch doesn't do file modes on diffs.
5         chmod a+rx scripts/live-bottom/*
6         # regular build.
7         dh build
8
9 %:
10         dh ${@} --with quilt
11
12 override_dh_auto_install:
13         dh_auto_install -- DESTDIR=debian/live-boot-grml
14
15         # Removing useless files
16         rm -f debian/live-boot-grml/usr/share/doc/live-boot-grml/COPYING
17
18         # live-boot-initramfs-tools
19         mkdir -p debian/live-boot-grml-initramfs-tools/usr/share
20         mv debian/live-boot-grml/usr/share/initramfs-tools debian/live-boot-grml-initramfs-tools/usr/share
21         # Some more useless files
22         rm -f debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/12fstab
23         rm -f debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/23networking
24         rm -f debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/24preseed
25         rm -f debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/30accessibility
26
27 override_dh_installinit:
28         dh_installinit -p live-boot-grml --no-restart-on-upgrade --no-start --update-rcd-params='start 89 0 6 .'