Merge branch 'debian'
[live-boot-grml.git] / debian / patches / 31_package_rename.patch
1 Index: live-boot-grml/Makefile
2 ===================================================================
3 --- live-boot-grml.orig/Makefile        2011-12-06 22:08:57.000000000 +0100
4 +++ live-boot-grml/Makefile     2011-12-06 22:09:19.000000000 +0100
5 @@ -52,11 +52,11 @@
6         cp -r hooks scripts $(DESTDIR)/usr/share/initramfs-tools
7  
8         # Installing docs
9 -       mkdir -p $(DESTDIR)/usr/share/doc/live-boot
10 -       cp -r COPYING docs/* $(DESTDIR)/usr/share/doc/live-boot
11 +       mkdir -p $(DESTDIR)/usr/share/doc/live-boot-grml
12 +       cp -r COPYING docs/* $(DESTDIR)/usr/share/doc/live-boot-grml
13  
14 -       mkdir -p $(DESTDIR)/usr/share/doc/live-boot/examples
15 -       cp -r etc/* $(DESTDIR)/usr/share/doc/live-boot/examples
16 +       mkdir -p $(DESTDIR)/usr/share/doc/live-boot-grml/examples
17 +       cp -r etc/* $(DESTDIR)/usr/share/doc/live-boot-grml/examples
18         # (FIXME)
19  
20         # Installing manpages
21 @@ -85,7 +85,7 @@
22         rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr > /dev/null 2>&1 || true
23  
24         # Uninstalling docs
25 -       rm -rf $(DESTDIR)/usr/share/doc/live-boot
26 +       rm -rf $(DESTDIR)/usr/share/doc/live-boot-grml
27         rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/doc > /dev/null 2>&1 || true
28         rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share > /dev/null 2>&1 || true
29         rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr > /dev/null 2>&1 || true