move Grml-specific patches to a separate subfolder
[live-boot-grml.git] / debian / patches / grml-specific / package_rename.patch
diff --git a/debian/patches/grml-specific/package_rename.patch b/debian/patches/grml-specific/package_rename.patch
new file mode 100644 (file)
index 0000000..7bd598b
--- /dev/null
@@ -0,0 +1,24 @@
+Index: live-boot-grml/Makefile
+===================================================================
+--- live-boot-grml.orig/Makefile       2014-03-08 13:36:52.857434829 +0100
++++ live-boot-grml/Makefile    2014-03-08 13:36:52.853435298 +0100
+@@ -55,8 +55,8 @@
+       cp frontend/* $(DESTDIR)/bin
+       # Installing docs
+-      mkdir -p $(DESTDIR)/usr/share/doc/live-boot
+-      cp -r COPYING $(DESTDIR)/usr/share/doc/live-boot
++      mkdir -p $(DESTDIR)/usr/share/doc/live-boot-grml
++      cp -r COPYING $(DESTDIR)/usr/share/doc/live-boot-grml
+       # Installing manpages
+       for MANPAGE in manpages/en/*; \
+@@ -90,7 +90,7 @@
+       rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr > /dev/null 2>&1 || true
+       # Uninstalling docs
+-      rm -rf $(DESTDIR)/usr/share/doc/live-boot
++      rm -rf $(DESTDIR)/usr/share/doc/live-boot-grml
+       rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/doc > /dev/null 2>&1 || true
+       rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share > /dev/null 2>&1 || true
+       rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr > /dev/null 2>&1 || true